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:
de.fraunhofer.aisec.cpg.passes.scopes.Breakable,de.fraunhofer.aisec.cpg.passes.scopes.ScopeTraits
public class TryScope 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 TryScope(de.fraunhofer.aisec.cpg.graph.Node astNode) -
Method Summary
Modifier and Type Method Description voidaddBreakStatement(BreakStatement breakStatement)java.util.List<BreakStatement>getBreakStatements()java.util.Map<Type,java.util.List<de.fraunhofer.aisec.cpg.graph.Node>>getCatchesOrRelays()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
-
TryScope
public TryScope(de.fraunhofer.aisec.cpg.graph.Node astNode)
-
-
Method Details
-
getCatchesOrRelays
-
addBreakStatement
- Specified by:
addBreakStatementin interfacede.fraunhofer.aisec.cpg.passes.scopes.Breakable
-
getBreakStatements
- Specified by:
getBreakStatementsin interfacede.fraunhofer.aisec.cpg.passes.scopes.Breakable
-