public abstract class LoopStatementBase extends StatementBase implements LoopStatement
Constructor and Description |
---|
LoopStatementBase() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
ProgramAnnotation |
getLoopAnnotation()
Get the loop annotation for this item.
|
void |
setLoopAnnotation(ProgramAnnotation annotation)
Set the loop annotation for this item.
|
getAnnotation, getJudgement, setAnnotation, setJudgement
getPosition, setPosition
accept, accept, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getJudgement, getKind, setJudgement
getPosition, setPosition
getAnnotation, setAnnotation
print, printCore, toString, toStringCore
public void setLoopAnnotation(ProgramAnnotation annotation)
setLoopAnnotation
in interface LoopStatement
annotation
- the annotation.public ProgramAnnotation getLoopAnnotation()
getLoopAnnotation
in interface LoopStatement
public void accept(ASTVisitorOld visitor)
accept
in interface AST
accept
in class StatementBase
visitor
- the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class StatementBase
visitor
- the visitor who is accepted by this node.public void acceptChildren(ASTVisitor visitor)
acceptChildren
in interface AST
acceptChildren
in class StatementBase
visitor
- the visitor who is accepted by the children of this node.