public class ForallStatementImpl extends ConstraintImpl implements IForallStatement
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
ForallStatementImpl() |
ForallStatementImpl(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 |
getConstraint()
Return the constraint being checked for all elements in the collection.
|
IModelReference |
getElement()
Return the element being iterated over.
|
IVariable |
getVariable()
If the statement introduces an iteration variable, this is returned
here.
|
String |
getVariableName() |
void |
setVariable(IVariable variable) |
getNRLDataType, setNRLDataTypedoIndent, 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, waitgetNRLDataType, setNRLDataTypegetColumn, getLine, getUserData, setUserDatapublic ForallStatementImpl()
public ForallStatementImpl(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 getConstraint()
IForallStatementgetConstraint in interface IForallStatementpublic IModelReference getElement()
IForallStatementgetElement in interface IForallStatementpublic String getVariableName()
public IVariable getVariable()
IForallStatementIf no variable is used, this returns null.
getVariable in interface IForallStatementpublic void setVariable(IVariable variable)
Copyright © 2006-2013. All Rights Reserved.