public class SelectionExpressionImpl extends ConstraintImpl implements ISelectionExpression
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
SelectionExpressionImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(INRLAstVisitor visitor)
Accept a visitor to this node.
|
IConstraint |
getConstraint()
Get the constraint that must hold for an element to be selected.
|
IModelReference |
getModelReference()
Return the model reference from which the selection is being made.
|
boolean |
isSingleElementSelection()
Return true if this selection is supposed to get a single element, false
if it's selecting a list.
|
getNRLDataType, setNRLDataTypedoIndent, dump, 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, setNRLDataTypedump, getColumn, getLine, getUserData, setUserDatapublic SelectionExpressionImpl(org.antlr.runtime.Token token)
public void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitorpublic IModelReference getModelReference()
ISelectionExpressiongetModelReference in interface ISelectionExpressionpublic IConstraint getConstraint()
ISelectionExpressiongetConstraint in interface ISelectionExpressionpublic boolean isSingleElementSelection()
ISelectionExpressionisSingleElementSelection in interface ISelectionExpressionCopyright © 2006-2013. All Rights Reserved.