public class OperatorFileReferenceImpl extends Antlr3NRLBaseAst implements IOperatorFileReference
| Modifier and Type | Field and Description |
|---|---|
IOperators |
operators |
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
OperatorFileReferenceImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
String |
dump(int indent)
Dump the AST and its children for debugging purposes
|
String |
getFileName()
Return the file name.
|
IOperators |
getOperators()
Returns the operator referred to by this reference, it has been resolved.
|
boolean |
isAbsolute()
Returns true if the file name is absolute, i.e.
|
boolean |
isOperatorsResolved()
Returns
true if the oeprator has been resolved in which case it can be accessed
via IOperatorFileReference.getOperator, false otherwise. |
void |
resolveOperators(IOperators operators)
Attaches an
IOperators resolved from this operator file reference. |
accept, doIndent, 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, waitaccept, getColumn, getLine, getUserData, setUserDatapublic IOperators operators
public OperatorFileReferenceImpl(org.antlr.runtime.Token token)
public String getFileName()
IOperatorFileReferencegetFileName in interface IOperatorFileReferencepublic boolean isAbsolute()
IOperatorFileReferenceisAbsolute in interface IOperatorFileReferencepublic String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic IOperators getOperators()
IOperatorFileReferencegetOperators in interface IOperatorFileReferencepublic boolean isOperatorsResolved()
IOperatorFileReferencetrue if the oeprator has been resolved in which case it can be accessed
via IOperatorFileReference.getOperator, false otherwise.isOperatorsResolved in interface IOperatorFileReferencetrue if the operator has been resolved, false otherwise.public void resolveOperators(IOperators operators)
IOperatorFileReferenceIOperators resolved from this operator file reference.resolveOperators in interface IOperatorFileReferenceoperators - The resolved IOperators for this operator file referenceCopyright © 2006-2013. All Rights Reserved.