| Package | Description |
|---|---|
| net.sourceforge.nrl.parser |
This top-level package contains utility classes referenced elsewhere.
|
| 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.model |
Definition of the internal meta-model that rules are written against.
|
| net.sourceforge.nrl.parser.operators |
Operator library management package.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NRLParser.resolveModelReferences(IRuleFile ruleFile,
IModelCollection models)
Deprecated.
|
void |
INRLParser.resolveModelReferences(IRuleFile ruleFile,
IModelCollection models)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected IModelCollection |
AntlrModelResolver.models |
| Modifier and Type | Method and Description |
|---|---|
protected IModelCollection |
AntlrModelResolverVisitor.getModels() |
| Modifier and Type | Method and Description |
|---|---|
static IModelElement |
ModelReferenceHelper.getModelElement(String elementName,
ModelReferenceImpl ref,
IModelCollection models,
List<NRLError> errors)
Look up a model element by name, handling both absolute and qualified names.
|
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.
|
| Constructor and Description |
|---|
AntlrModelResolver(IModelCollection models) |
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 | Class and Description |
|---|---|
class |
ModelCollection |
| Modifier and Type | Method and Description |
|---|---|
List<NRLError> |
Parameter.resolveModelReferences(IModelCollection models) |
List<NRLError> |
Operators.resolveModelReferences(IModelCollection models) |
List<NRLError> |
Operator.resolveModelReferences(IModelCollection models) |
List<NRLError> |
IParameter.resolveModelReferences(IModelCollection models)
Resolve all parameter type and return type references against models.
|
List<NRLError> |
IOperators.resolveModelReferences(IModelCollection models)
Resolve all parameter type and return type references against models.
|
List<NRLError> |
IOperator.resolveModelReferences(IModelCollection models)
Resolve all parameter type and return type references against models.
|
Copyright © 2006-2013. All Rights Reserved.