public class OperatorInvocationImpl extends ConstraintImpl implements IOperatorInvocation
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
OperatorInvocationImpl() |
OperatorInvocationImpl(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 |
getNumParameters()
Return the number of parameters passed in this invocation.
|
IOperator |
getOperator()
Return the operator.
|
String |
getOperatorName()
Return the name of the operator begin called.
|
IExpression |
getParameter(int index)
Return a parameter.
|
IModelElement |
getReturnType() |
void |
setOperator(IOperator operator) |
void |
setReturnType(IModelElement returnType) |
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 OperatorInvocationImpl()
public OperatorInvocationImpl(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 IOperator getOperator()
IOperatorInvocationINRLParser.resolveOperatorReferences(IRuleFile, IOperators[]).getOperator in interface IOperatorInvocationpublic String getOperatorName()
IOperatorInvocationgetOperatorName in interface IOperatorInvocationpublic IExpression getParameter(int index)
IOperatorInvocationIOperatorInvocation.getNumParameters()-1, or a runtime exception will occur.getParameter in interface IOperatorInvocationindex - the indexpublic int getNumParameters()
IOperatorInvocationgetNumParameters in interface IOperatorInvocationpublic IModelElement getReturnType()
public void setOperator(IOperator operator)
public void setReturnType(IModelElement returnType)
Copyright © 2006-2013. All Rights Reserved.