sota.ast.nodes
Class ASTCatchNode
java.lang.Object
sota.ast.nodes.ASTNode
sota.ast.nodes.ASTStatementNode
sota.ast.nodes.ASTCatchNode
- All Implemented Interfaces:
- java.lang.Comparable<ASTNode>, IStatementNode
- Direct Known Subclasses:
- JavaASTCatchNode
public abstract class ASTCatchNode
- extends ASTStatementNode
AST-Knoten für Catches in Ausnahme-Blöcke
..
ASTNode tryNode.entryNode
ASTTryNode tryNode
ASTStatementNode tryNode.entryOfTryBlock
> ..
ASTNode tryNode.endOfTryBlock
ASTCatchNode this
> ..
ASTCatchNode tryNode.[listOfCatchNodes]
> ..
ASTStatementNode tryNode.endNode
..
Fields inherited from class sota.ast.nodes.ASTNode |
ascContent, BRANCH, CASE, CATCH, CONDITION, content, controlingBranchNode, DO, functionNode, id, IF, isDirectReachable, isReachable, isVirtual, ITERATION, JUMP, lineNr, next, NODE, prev, SCOPE, STATEMENT, SWITCH, TRY |
Constructor Summary |
ASTCatchNode(int nl,
java.lang.String s)
|
ASTCatchNode(int nl,
java.lang.String s,
java.lang.String para)
|
Methods inherited from class sota.ast.nodes.ASTNode |
appendToASCContent, compareTo, createASCContent, getASCContent, getContent, getControlingBranchNode, getFunctionNode, getID, getLineNr, getNextNode, getPrevNode, getReachString, getType, isDirectReachable, isDirectReachable, isReachable, isReachable, isVirtual, isVirtual, print, printReach, setASCContent, setContent, setControlingBranchNode, setFunctionNode, setID, setNextNode, setPrevNode, typeToString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isFinally
protected boolean isFinally
parameter
protected java.lang.String parameter
tryNode
protected ASTTryNode tryNode
- Bei der Konstruktion zu setzende Informationen und Verknüpfungen *
ASTCatchNode
public ASTCatchNode(int nl,
java.lang.String s)
ASTCatchNode
public ASTCatchNode(int nl,
java.lang.String s,
java.lang.String para)
getEndOfCatchBlock
public ASTNode getEndOfCatchBlock()
getNodeString
public java.lang.String getNodeString()
- Overrides:
getNodeString
in class ASTStatementNode
getParameter
public java.lang.String getParameter()
getTryNode
public ASTTryNode getTryNode()
isFinally
public boolean isFinally()
printNode
public void printNode()
- Description copied from class:
ASTStatementNode
- Print **
- Overrides:
printNode
in class ASTStatementNode
setParameter
public void setParameter(java.lang.String s)
setTryNode
public void setTryNode(ASTTryNode tn)