sota.ast.nodes
Class ASTCompoundNode
java.lang.Object
sota.ast.nodes.ASTNode
sota.ast.nodes.ASTCompoundNode
- All Implemented Interfaces:
- java.lang.Comparable<ASTNode>
- Direct Known Subclasses:
- JavaASTCompoundNode
public abstract class ASTCompoundNode
- extends ASTNode
AST-Knoten für Compoundblöcke
.. * ..
ASTCompoundNode this * ASTCompoundNode startNode
> .. * > ..
ASTCompoundNode endNode * ASTCompoundNode this
.. * ..
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 |
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, printCFG, 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 |
endNode
protected ASTCompoundNode endNode
- Bei der Konstruktion zu setzende Informationen und Verknüpfungen *
startNode
protected ASTCompoundNode startNode
ASTCompoundNode
public ASTCompoundNode(int ln)
ASTCompoundNode
public ASTCompoundNode(int nl,
java.lang.String s)
getEndNode
public ASTCompoundNode getEndNode()
getNodeString
public java.lang.String getNodeString()
- Overrides:
getNodeString
in class ASTNode
getStartNode
public ASTCompoundNode getStartNode()
isStartNode
public boolean isStartNode()
printNode
public void printNode()
- Overrides:
printNode
in class ASTNode
setEndNode
public void setEndNode(ASTCompoundNode n)
setStartNode
public void setStartNode(ASTCompoundNode n)