public class ConditionalReportImpl extends Antlr3NRLBaseAst implements IConditionalReport
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
ConditionalReportImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(INRLAstVisitor visitor)
Accept a visitor to this node.
|
String |
dump(int indent)
Deprecated.
|
IConstraint |
getCondition()
Return the "if" condition.
|
ICompoundReport |
getElse()
Return the report to create if the condition was false.
|
ICompoundReport |
getThen()
Return the report to create if the condition was true.
|
doIndent, getColumn, getLine, getUserData, initialisePositionFromChild, setColumn, setLine, setUserDatadupNode, getCharPositionInLine, getChildIndex, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetColumn, getLine, getUserData, setUserDatapublic ConditionalReportImpl(org.antlr.runtime.Token token)
public void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitor@Deprecated public String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic IConstraint getCondition()
IConditionalReportgetCondition in interface IConditionalReportpublic ICompoundReport getElse()
IConditionalReportgetElse in interface IConditionalReportpublic ICompoundReport getThen()
IConditionalReportgetThen in interface IConditionalReportCopyright © 2006-2013. All Rights Reserved.