sota.ast.nodes
Class ASTJumpNode
java.lang.Object
sota.ast.nodes.ASTNode
sota.ast.nodes.ASTStatementNode
sota.ast.nodes.ASTJumpNode
- All Implemented Interfaces:
- java.lang.Comparable<ASTNode>, IStatementNode
- Direct Known Subclasses:
- JavaASTJumpNode
public abstract class ASTJumpNode
- extends ASTStatementNode
AST-Knoten für Sprunganweisungen (break, continue, return, throw)
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 |
ASTJumpNode(int ln,
java.lang.String s,
java.lang.String l)
|
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, 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 |
isBreak
protected boolean isBreak
isContinue
protected boolean isContinue
isGoto
protected boolean isGoto
isReturn
protected boolean isReturn
isThrow
protected boolean isThrow
label
protected java.lang.String label
listOfFinallyNodes
protected java.util.ArrayList<ASTNode> listOfFinallyNodes
listOfTryNodes
protected java.util.ArrayList<ASTTryNode> listOfTryNodes
targetNode
protected ASTNode targetNode
- Bei der Konstruktion zu setzende Informationen und Verknüpfungen *
ASTJumpNode
public ASTJumpNode(int ln,
java.lang.String s,
java.lang.String l)
addTryNodes
public void addTryNodes(java.util.Vector<ASTTryNode> n)
getLabel
public java.lang.String getLabel()
getListOfFinallyNodes
public java.util.ArrayList<ASTNode> getListOfFinallyNodes()
getListOfTryNodes
public java.util.ArrayList<ASTTryNode> getListOfTryNodes()
getNodeString
public java.lang.String getNodeString()
- Overrides:
getNodeString
in class ASTStatementNode
getTargetNode
public ASTNode getTargetNode()
isBreak
public boolean isBreak()
isBreak
public void isBreak(boolean b)
isContinue
public boolean isContinue()
isContinue
public void isContinue(boolean b)
isGoto
public boolean isGoto()
isGoto
public void isGoto(boolean b)
isReturn
public boolean isReturn()
isReturn
public void isReturn(boolean b)
isThrow
public boolean isThrow()
isThrow
public void isThrow(boolean b)
isVirtual
public void isVirtual(boolean b)
- Overrides:
isVirtual
in class ASTNode
printCFG
public void printCFG()
- Overrides:
printCFG
in class ASTStatementNode
printNode
public void printNode()
- Prints **
- Overrides:
printNode
in class ASTStatementNode
setTarget
public void setTarget(ASTNode targetNode)