public class ExistsStatementImpl extends ConstraintImpl implements IExistsStatement
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
ExistsStatementImpl() |
ExistsStatementImpl(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.
|
int |
getColumn()
Return the column in the input file where this node occurred.
|
IConstraint |
getConstraint()
Return the constraint to check relative to each collection member being
iterated over.
|
ICardinalityConstraint |
getCount()
Return the cardinality constraint (one, two, three, at least one, etc.),
if there is one.
|
IModelReference |
getElement()
Return the model reference being checked for existence.
|
int |
getLine()
Return the line in the input file where this node occurred.
|
boolean |
hasConstraint()
Return true if there is a constraint attached that is to be executed
relative to collection members.
|
boolean |
hasCount()
Return true if the exists statement has a counter attached to it.
|
void |
setElement(ModelReferenceImpl element) |
getNRLDataType, setNRLDataTypedoIndent, 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, setNRLDataTypegetUserData, setUserDatapublic ExistsStatementImpl()
public ExistsStatementImpl(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()
IExistsStatementIExistsStatement.hasConstraint() to check if it exists first.getConstraint in interface IExistsStatementpublic ICardinalityConstraint getCount()
IExistsStatementIExistsStatement.hasCount() to check
first.getCount in interface IExistsStatementpublic IModelReference getElement()
IExistsStatementgetElement in interface IExistsStatementpublic int getLine()
INRLAstNodegetLine in interface INRLAstNodegetLine in interface org.antlr.runtime.tree.TreegetLine in class Antlr3NRLBaseAstpublic int getColumn()
INRLAstNodegetColumn in interface INRLAstNodegetColumn in class Antlr3NRLBaseAstpublic boolean hasConstraint()
IExistsStatementhasConstraint in interface IExistsStatementpublic boolean hasCount()
IExistsStatementhasCount in interface IExistsStatementpublic void setElement(ModelReferenceImpl element)
Copyright © 2006-2013. All Rights Reserved.