| 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.constraints | |
| net.sourceforge.nrl.parser.ast.constraints.impl | |
| net.sourceforge.nrl.parser.ast.impl |
The ANTLR v3 implementation of the AST, including a JFlex lexer and ANTLR v3
parser.
|
| net.sourceforge.nrl.parser.type |
Abstract type assignment and type checking for the completed AST.
|
| Modifier and Type | Method and Description |
|---|---|
List<IVariableDeclaration> |
IRuleFile.getGlobalVariableDeclarations()
Get the list of global variable declarations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
INRLActionDetailVisitor.Stub.visitVariableDeclarationAfter(IVariableDeclaration decl) |
boolean |
INRLActionDetailVisitor.Stub.visitVariableDeclarationBefore(IVariableDeclaration decl) |
| Modifier and Type | Method and Description |
|---|---|
List<IVariableDeclaration> |
IConstraintRuleDeclaration.getVariableDeclarations()
Return the variables declared for this constraint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
INRLConstraintDetailVisitor.visitVariableDeclarationAfter(IVariableDeclaration decl) |
void |
INRLConstraintDetailVisitor.Stub.visitVariableDeclarationAfter(IVariableDeclaration decl) |
boolean |
INRLConstraintDetailVisitor.visitVariableDeclarationBefore(IVariableDeclaration decl) |
boolean |
INRLConstraintDetailVisitor.Stub.visitVariableDeclarationBefore(IVariableDeclaration decl) |
| Modifier and Type | Class and Description |
|---|---|
class |
VariableDeclarationImpl |
| Modifier and Type | Method and Description |
|---|---|
List<IVariableDeclaration> |
ConstraintRuleDeclarationImpl.getVariableDeclarations() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,IVariableDeclaration> |
ConstraintAstResolver.globalVariableIds |
protected Map<String,IVariableDeclaration> |
AntlrModelResolverVisitor.globalVariables |
| Modifier and Type | Method and Description |
|---|---|
List<IVariableDeclaration> |
RuleFileImpl.getGlobalVariableDeclarations() |
protected Map<String,IVariableDeclaration> |
AntlrModelResolver.getGlobalVariablesAsMap(IRuleFile ruleFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AntlrModelResolver.resolveAction(IAction action,
IClassifier context,
Map<String,IVariableDeclaration> globalVariables,
List<Variable> variables,
List<NRLError> errors) |
protected void |
AntlrModelResolver.resolveActionFragment(IActionFragmentDeclaration macro,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors) |
protected void |
AntlrModelResolver.resolveConstraints(IRuleFile ruleFile,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors) |
static void |
ModelReferenceHelper.resolveReference(ModelReferenceImpl ref,
IModelCollection models,
IModelElement contextElement,
IClassifier initialContext,
VariableContext variableContext,
Map<String,IVariableDeclaration> globalVariableContext,
List<NRLError> errors)
Resolve a reference by looking up the initial step and traversing a path.
|
protected void |
AntlrModelResolver.resolveRuleSets(IRuleFile ruleFile,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
Resolve the context and constraints of rule set declarations
|
protected void |
AntlrModelResolver.resolveValidationFragmentDeclaration(IValidationFragmentDeclaration decl,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors) |
| Constructor and Description |
|---|
AntlrModelResolverVisitor(IClassifier ruleContext,
IModelCollection models,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
Initialize a constraint visitor with a rule context classifier, the model, a map of global
variables and an error list to populate.
|
AntlrModelResolverVisitor(IClassifier ruleContext,
IModelCollection models,
Map<String,IVariableDeclaration> globalVariables,
List<Variable> contextVariables,
List<NRLError> errors) |
AntlrModelResolverVisitor(IModelCollection models,
Map<String,IVariableDeclaration> globalVariables,
List<Variable> contextVariables,
List<NRLError> errors) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConstraintTypeChecker.visitVariableDeclarationAfter(IVariableDeclaration decl) |
boolean |
ConstraintTypeChecker.visitVariableDeclarationBefore(IVariableDeclaration decl) |
Copyright © 2006-2013. All Rights Reserved.