Class StructureDeclarationScope
java.lang.Object
de.fraunhofer.aisec.cpg.passes.scopes.Scope
de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
de.fraunhofer.aisec.cpg.passes.scopes.StructureDeclarationScope
- Direct Known Subclasses:
GlobalScope,NameScope
public class StructureDeclarationScope extends ValueDeclarationScope
-
Field Summary
Fields inherited from class de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
logFields inherited from class de.fraunhofer.aisec.cpg.passes.scopes.Scope
astNode, children, labelStatements, parent, scopedName -
Constructor Summary
Constructors Constructor Description StructureDeclarationScope(de.fraunhofer.aisec.cpg.graph.Node node) -
Method Summary
Modifier and Type Method Description voidaddDeclaration(@NonNull Declaration declaration)java.util.List<Declaration>getStructureDeclarations()voidsetStructureDeclarations(@NonNull java.util.List<Declaration> structureDeclarations)Methods inherited from class de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
addTypedef, getTypedefs, getValueDeclarations, setTypedefs, setValueDeclarationsMethods inherited from class de.fraunhofer.aisec.cpg.passes.scopes.Scope
addLabelStatement, getAstNode, getChildren, getLabelStatements, getParent, getScopedName, setAstNode, setChildren, setLabelStatements, setParent, setScopedNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StructureDeclarationScope
public StructureDeclarationScope(de.fraunhofer.aisec.cpg.graph.Node node)
-
-
Method Details
-
getStructureDeclarations
-
setStructureDeclarations
-
addDeclaration
- Overrides:
addDeclarationin classValueDeclarationScope
-