public class CollectionIndexImpl extends ConstraintImpl implements ICollectionIndex
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
CollectionIndexImpl(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)
Dump the AST and its children for debugging purposes
|
IModelReference |
getCollection()
Return the reference to the collection.
|
int |
getPosition()
Return the (1-based) index.
|
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 CollectionIndexImpl(org.antlr.runtime.Token token)
throws org.antlr.runtime.RecognitionException
org.antlr.runtime.RecognitionExceptionpublic void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitorpublic String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic IModelReference getCollection()
ICollectionIndexgetCollection in interface ICollectionIndexpublic int getPosition()
ICollectionIndexgetPosition in interface ICollectionIndexCopyright © 2006-2013. All Rights Reserved.