Class BlockScope
java.lang.Object
de.fraunhofer.aisec.cpg.passes.scopes.Scope
de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
de.fraunhofer.aisec.cpg.passes.scopes.BlockScope
- All Implemented Interfaces:
de.fraunhofer.aisec.cpg.passes.scopes.Breakable,de.fraunhofer.aisec.cpg.passes.scopes.ScopeTraits
public class BlockScope extends ValueDeclarationScope implements de.fraunhofer.aisec.cpg.passes.scopes.Breakable
-
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 BlockScope(CompoundStatement blockStatement) -
Method Summary
Modifier and Type Method Description voidaddBreakStatement(BreakStatement breakStatement)java.util.List<BreakStatement>getBreakStatements()Methods inherited from class de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
addDeclaration, 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
-
BlockScope
-
-
Method Details
-
addBreakStatement
- Specified by:
addBreakStatementin interfacede.fraunhofer.aisec.cpg.passes.scopes.Breakable
-
getBreakStatements
- Specified by:
getBreakStatementsin interfacede.fraunhofer.aisec.cpg.passes.scopes.Breakable
-