public abstract class ConstraintImpl extends Antlr3NRLBaseAst implements IConstraint
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
ConstraintImpl() |
ConstraintImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
NRLDataType |
getNRLDataType()
Return a type constant from the
NRLDataType class,
indicating the data type of the constraint. |
void |
setNRLDataType(NRLDataType type)
Assign an NRL type to this constraint.
|
accept, doIndent, 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, waitaccept, dump, getColumn, getLine, getUserData, setUserDatapublic ConstraintImpl()
public ConstraintImpl(org.antlr.runtime.Token token)
public NRLDataType getNRLDataType()
IConstraintNRLDataType class,
indicating the data type of the constraint.
This can only be called once a type inference algorithm has been applied
to the constraint or the entire AST. Constraints either have type
themselves, in the case of primitive constraints, or derived types
inherited from expressions. Before type inference is called, the type is
always NRLDataType.Type#Unknown.
getNRLDataType in interface IConstraintpublic void setNRLDataType(NRLDataType type)
IConstraintsetNRLDataType in interface IConstrainttype - the typeCopyright © 2006-2013. All Rights Reserved.