Class TryScope
- java.lang.Object
-
- de.fraunhofer.aisec.cpg.passes.scopes.Scope
-
- de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
-
- de.fraunhofer.aisec.cpg.passes.scopes.TryScope
-
- All Implemented Interfaces:
IBreakable
public class TryScope extends ValueDeclarationScope implements IBreakable
-
-
Field Summary
-
Fields inherited from class de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
log
-
Fields inherited from class de.fraunhofer.aisec.cpg.passes.scopes.Scope
astNode, children, labelStatements, parent, scopedName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBreakStatement(BreakStatement breakStatement)java.util.List<BreakStatement>getBreakStatements()java.util.Map<Type,java.util.List<Node>>getCatchesOrRelays()-
Methods inherited from class de.fraunhofer.aisec.cpg.passes.scopes.ValueDeclarationScope
addDeclaration, addTypedef, getTypedefs, getValueDeclarations, setTypedefs, setValueDeclarations
-
Methods inherited from class de.fraunhofer.aisec.cpg.passes.scopes.Scope
addLabelStatement, getAstNode, getChildren, getLabelStatements, getParent, getScopedName, setAstNode, setChildren, setLabelStatements, setParent, setScopedName
-
-
-
-
Constructor Detail
-
TryScope
public TryScope(Node astNode)
-
-
Method Detail
-
addBreakStatement
public void addBreakStatement(BreakStatement breakStatement)
- Specified by:
addBreakStatementin interfaceIBreakable
-
getBreakStatements
public java.util.List<BreakStatement> getBreakStatements()
- Specified by:
getBreakStatementsin interfaceIBreakable
-
-