|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NRLDataType | |
---|---|
net.sourceforge.nrl.parser.ast | The fully resolved abstract syntax tree (AST) representation of the constraint language. |
net.sourceforge.nrl.parser.ast.constraints | |
net.sourceforge.nrl.parser.ast.constraints.impl | |
net.sourceforge.nrl.parser.model | Definition of the internal meta-model that rules are written against. |
net.sourceforge.nrl.parser.operators | Operator library management package. |
net.sourceforge.nrl.parser.type | Abstract type assignment and type checking for the completed AST. |
Uses of NRLDataType in net.sourceforge.nrl.parser.ast |
---|
Fields in net.sourceforge.nrl.parser.ast declared as NRLDataType | |
---|---|
static NRLDataType |
NRLDataType.BOOLEAN
Scalar boolean type |
static NRLDataType |
NRLDataType.DATE
Scalar date type |
static NRLDataType |
NRLDataType.DECIMAL
Scalar decimal (float, double) type |
static NRLDataType |
NRLDataType.ELEMENT
Scalar element type (complex model element) |
static NRLDataType |
NRLDataType.INTEGER
Scalar Integer type |
static NRLDataType |
NRLDataType.STRING
Scalar string type |
static NRLDataType |
NRLDataType.UNKNOWN
|
static NRLDataType |
NRLDataType.VOID
Scalar void type |
Methods in net.sourceforge.nrl.parser.ast that return NRLDataType | |
---|---|
NRLDataType |
Variable.getNRLDataType()
|
NRLDataType |
IVariable.getNRLDataType()
Return a type constant from the NRLDataType class, indicating the
data type of the variable. |
Methods in net.sourceforge.nrl.parser.ast with parameters of type NRLDataType | |
---|---|
void |
Variable.setNRLDataType(NRLDataType type)
|
void |
IVariable.setNRLDataType(NRLDataType type)
Assign an NRL type to this variable. |
Constructors in net.sourceforge.nrl.parser.ast with parameters of type NRLDataType | |
---|---|
NRLDataType(NRLDataType other)
|
Uses of NRLDataType in net.sourceforge.nrl.parser.ast.constraints |
---|
Methods in net.sourceforge.nrl.parser.ast.constraints that return NRLDataType | |
---|---|
NRLDataType |
IValidationFragmentDeclaration.getNRLDataType()
Return the return type of the fragment. |
NRLDataType |
IConstraint.getNRLDataType()
Return a type constant from the NRLDataType class,
indicating the data type of the constraint. |
Methods in net.sourceforge.nrl.parser.ast.constraints with parameters of type NRLDataType | |
---|---|
void |
IConstraint.setNRLDataType(NRLDataType type)
Assign an NRL type to this constraint. |
Uses of NRLDataType in net.sourceforge.nrl.parser.ast.constraints.impl |
---|
Methods in net.sourceforge.nrl.parser.ast.constraints.impl that return NRLDataType | |
---|---|
NRLDataType |
ValidationFragmentDeclarationImpl.getNRLDataType()
|
NRLDataType |
ConstraintImpl.getNRLDataType()
|
Methods in net.sourceforge.nrl.parser.ast.constraints.impl with parameters of type NRLDataType | |
---|---|
void |
ValidationFragmentDeclarationImpl.setNRLDataType(NRLDataType type)
|
void |
ConstraintImpl.setNRLDataType(NRLDataType type)
|
Uses of NRLDataType in net.sourceforge.nrl.parser.model |
---|
Methods in net.sourceforge.nrl.parser.model that return NRLDataType | |
---|---|
NRLDataType |
PrimitiveTypeFactory.getNrlType(String name)
Return the NRL data type of a built-in type, given its name |
Methods in net.sourceforge.nrl.parser.model with parameters of type NRLDataType | |
---|---|
IDataType |
PrimitiveTypeFactory.getType(NRLDataType nrlType)
Return a data type object corresponding to the given NRL type. |
Uses of NRLDataType in net.sourceforge.nrl.parser.operators |
---|
Methods in net.sourceforge.nrl.parser.operators that return NRLDataType | |
---|---|
NRLDataType |
Parameter.getNRLDataType()
|
NRLDataType |
IParameter.getNRLDataType()
Return the NRL type of the parameter. |
NRLDataType |
Operator.getNRLReturnType()
|
NRLDataType |
IOperator.getNRLReturnType()
Returns the return type of the operator. |
Methods in net.sourceforge.nrl.parser.operators with parameters of type NRLDataType | |
---|---|
void |
Parameter.setNRLDataType(NRLDataType type)
|
void |
IParameter.setNRLDataType(NRLDataType type)
Set the NRL type of the parameter. |
void |
Operator.setNRLReturnType(NRLDataType returnType)
|
void |
IOperator.setNRLReturnType(NRLDataType type)
Set the NRL type of the return type |
Uses of NRLDataType in net.sourceforge.nrl.parser.type |
---|
Methods in net.sourceforge.nrl.parser.type that return NRLDataType | |
---|---|
NRLDataType |
TypeMappingEntry.getType()
Return the internal data type this maps to. |
NRLDataType |
TypeMapping.getType(IAttribute attr)
|
NRLDataType |
ITypeMapping.getType(IAttribute attr)
Map the type of an attribute to an internal abstract type. |
NRLDataType |
TypeMapping.getType(IModelElement element)
|
NRLDataType |
ITypeMapping.getType(IModelElement element)
Map a model element to an internal, abstract type. |
protected NRLDataType |
ConstraintTypeChecker.getType(IModelElement element)
Use the type mappings to look up the internal type for a model element. |
static NRLDataType |
TypeMapping.getTypeFromString(String type)
Convert a string representation of a type back to an integer number. |
Methods in net.sourceforge.nrl.parser.type with parameters of type NRLDataType | |
---|---|
TypeMappingEntry |
TypeMapping.addMapping(String packageName,
String typeName,
NRLDataType type)
Add a mapping from a type name, in a particular package, to an internal type. |
static String |
TypeMapping.getStringForType(NRLDataType type)
Return a serializable string for the integer constant from NRLDataType . |
static boolean |
ConstraintTypeChecker.isAssignmentCompatible(NRLDataType assignedTo,
NRLDataType assignedFrom)
Check if two NRL types are assignment compatible. |
boolean |
ConstraintTypeChecker.isNumber(NRLDataType type)
Helper method to idenitfy if a type is a number (integer or decimal) |
void |
TypeMappingEntry.setType(NRLDataType type)
Set the internal type |
protected void |
ConstraintTypeChecker.visitIsInList(List<IIdentifier> list,
IExpression expression,
NRLDataType exprType)
|
Constructors in net.sourceforge.nrl.parser.type with parameters of type NRLDataType | |
---|---|
TypeMappingEntry(String packageName,
String modelElementName,
NRLDataType type)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |