| Package | Description |
|---|---|
| net.sourceforge.nrl.parser.ast |
The fully resolved abstract syntax tree (AST) representation of the constraint language.
|
| net.sourceforge.nrl.parser.ast.action |
The fully resolved extended abstract syntax tree (AST) representation for the
action language.
|
| net.sourceforge.nrl.parser.ast.action.impl | |
| net.sourceforge.nrl.parser.ast.constraints | |
| net.sourceforge.nrl.parser.ast.constraints.impl | |
| net.sourceforge.nrl.parser.type |
Abstract type assignment and type checking for the completed AST.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IModelReference
A reference to a model element, consisting of several steps along element and attribute names.
|
| Modifier and Type | Method and Description |
|---|---|
IExpression |
Variable.getBoundExpression() |
IExpression |
IVariable.getBoundExpression()
Return the complex expression bound to this variable.
|
| Constructor and Description |
|---|
Variable(String name,
IExpression boundExpression) |
| Modifier and Type | Method and Description |
|---|---|
IExpression |
IVariableDeclarationAction.getExpression()
Get the expression that initialises the variable.
|
IExpression |
ISetAction.getExpression()
The expression to assign to the attribute.
|
IExpression |
IAddAction.getSource()
Return the expression to add to the list.
|
| Modifier and Type | Method and Description |
|---|---|
List<IExpression> |
IOperatorAction.getParameters()
Return the list of parameters, which are
IExpression objects. |
List<IExpression> |
IActionFragmentApplicationAction.getParameters()
Return the parameters being passed to the macro.
|
| Modifier and Type | Method and Description |
|---|---|
IExpression |
VariableDeclarationActionImpl.getExpression() |
IExpression |
SetActionImpl.getExpression() |
IExpression |
AddActionImpl.getSource() |
| Modifier and Type | Method and Description |
|---|---|
List<IExpression> |
OperatorActionImpl.getParameters() |
List<IExpression> |
ActionFragmentApplicationActionImpl.getParameters() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IArithmeticExpression
An arithmetic expression takes two arguments and applies an operator to them.
|
interface |
IBooleanLiteral
"true" or "false".
|
interface |
ICastExpression
An expression that converts a type to a sub-type.
|
interface |
ICollectionIndex
A statement to return an item at a specific index in a collection.
|
interface |
IDecimalNumber
A decimal (floating point) number that occurred as a literal in an expression.
|
interface |
IFunctionalExpression
An expression that uses a function to compute a result.
|
interface |
IIdentifier
An identifier can occur in an expression, and is a model reference, literal
string or a number.
|
interface |
IIntegerNumber
An integer number that occurred as a literal in an expression.
|
interface |
ILiteralString
A literal, quoted string.
|
interface |
IOperatorInvocation
An operator invocation is an expression that makes use of an external
undefined operator - mostly a scripted a programmed extension.
|
interface |
ISelectionExpression
A selection expression: "the element where constraint".
|
interface |
IValidationFragmentApplication
A fragment application is used inside a rule to obtain the value of a
fragment.
|
| Modifier and Type | Method and Description |
|---|---|
IExpression |
IVariableDeclaration.getExpression()
Get the expression that initialises the variable.
|
IExpression |
IIsNotInPredicate.getExpression()
Return the expression whose computed value must not be in the list.
|
IExpression |
IIsInPredicate.getExpression()
Return the expression whose computed value must be in the list.
|
IExpression |
IBinaryPredicate.getLeft()
Return the left parameter.
|
IExpression |
IArithmeticExpression.getLeft()
Get the first parameter.
|
IExpression |
IValidationFragmentApplication.getParameter(int index)
Return a parameter.
|
IExpression |
IOperatorInvocation.getParameter(int index)
Return a parameter.
|
IExpression |
IBinaryPredicate.getRight()
Return the right parameter.
|
IExpression |
IArithmeticExpression.getRight()
Get the second parameter.
|
| Modifier and Type | Method and Description |
|---|---|
List<IExpression> |
IConcatenatedReport.getExpressions()
Return the expressions that should be concatenated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArithmeticExpressionImpl |
class |
BooleanLiteralImpl |
class |
CastExpressionImpl |
class |
CollectionIndexImpl |
class |
DecimalNumberImpl |
class |
FunctionalExpressionImpl |
class |
IntegerNumberImpl |
class |
LiteralStringImpl |
class |
ModelReferenceImpl
Implementation of a model reference.
|
class |
OperatorInvocationImpl |
class |
SelectionExpressionImpl |
class |
ValidationFragmentApplicationImpl |
| Modifier and Type | Method and Description |
|---|---|
IExpression |
VariableDeclarationImpl.getExpression() |
IExpression |
IsNotInPredicateImpl.getExpression() |
IExpression |
IsInPredicateImpl.getExpression() |
IExpression |
BinaryPredicateImpl.getLeft() |
IExpression |
ArithmeticExpressionImpl.getLeft() |
IExpression |
ValidationFragmentApplicationImpl.getParameter(int index) |
IExpression |
OperatorInvocationImpl.getParameter(int index) |
IExpression |
BinaryPredicateImpl.getRight() |
IExpression |
ArithmeticExpressionImpl.getRight() |
| Modifier and Type | Method and Description |
|---|---|
List<IExpression> |
ConcatenatedReportImpl.getExpressions() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConstraintTypeChecker.visitIsInList(List<IIdentifier> list,
IExpression expression,
NRLDataType exprType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConstraintTypeChecker.visitOperatorParameters(IOperator operator,
INRLAstNode operatorNode,
List<IExpression> parameters) |
Copyright © 2006-2013. All Rights Reserved.