public interface IConstraint extends INRLAstNode
Abstract syntax reference: Constraint ::= IfThenStatement
NEWLINE| 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, dump, getColumn, getLine, getUserData, setUserDataNRLDataType getNRLDataType()
NRLDataType 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.
void setNRLDataType(NRLDataType type)
type - the typeCopyright © 2006-2013. All Rights Reserved.