|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NRLError | |
---|---|
net.sourceforge.nrl.parser | This top-level package contains utility classes referenced elsewhere. |
net.sourceforge.nrl.parser.ast.action.impl | |
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.operators | Operator library management package. |
net.sourceforge.nrl.parser.type | Abstract type assignment and type checking for the completed AST. |
Uses of NRLError in net.sourceforge.nrl.parser |
---|
Subclasses of NRLError in net.sourceforge.nrl.parser | |
---|---|
class |
ModelLoadingError
Specific error for models which are referenced by something but could not be loaded. |
class |
SemanticError
A semantic error that occurred during AST creation or AST resolution. |
class |
SyntaxError
An error that occurred during parsing. |
Methods in net.sourceforge.nrl.parser that return types with arguments of type NRLError | |
---|---|
List<NRLError> |
NRLParser.getErrors()
After any call to the parse or resolve methods, this method returns a list of errors, if any. |
List<NRLError> |
INRLParser.getErrors()
Returns a collection of SyntaxError and
SemanticError objects. |
Uses of NRLError in net.sourceforge.nrl.parser.ast.action.impl |
---|
Method parameters in net.sourceforge.nrl.parser.ast.action.impl with type arguments of type NRLError | |
---|---|
protected void |
ActionAstResolver.collectActionFragmentIds(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect action fragment identifiers in the actionFragmentIds list. |
protected void |
ActionAstResolver.collectIdentifiers(RuleFileImpl ruleFile,
List<NRLError> errors)
Extends the base implementation to also collect fragment ids. |
protected void |
ActionAstResolver.resolveReferences(RuleFileImpl ruleFile,
List<NRLError> errors)
Override the superclass method to also resolve fragment references. |
Uses of NRLError in net.sourceforge.nrl.parser.ast.constraints.impl |
---|
Methods in net.sourceforge.nrl.parser.ast.constraints.impl that return types with arguments of type NRLError | |
---|---|
List<NRLError> |
ValidationFragmentDependencyProcessor.resolve()
|
Uses of NRLError in net.sourceforge.nrl.parser.ast.impl |
---|
Fields in net.sourceforge.nrl.parser.ast.impl with type parameters of type NRLError | |
---|---|
protected List<NRLError> |
AntlrOperatorResolverVisitor.errors
|
Methods in net.sourceforge.nrl.parser.ast.impl that return types with arguments of type NRLError | |
---|---|
List<NRLError> |
AntlrOperatorResolverVisitor.getErrors()
Return the list of errors, after traversal. |
List<NRLError> |
AntlrModelResolverVisitor.getErrors()
|
List<NRLError> |
NRLActionParser_NRLConstraintRules.getSyntaxErrors()
|
List<NRLError> |
NRLActionParser.getSyntaxErrors()
|
List<NRLError> |
AntlrModelResolver.resolve(IRuleFile ruleFile)
Main method - resolve all model references in the entire AST. |
List<NRLError> |
ConstraintAstResolver.resolve(RuleFileImpl ruleFile)
Resolve the rule file and return a list of SemanticError objects if errors occurred. |
Method parameters in net.sourceforge.nrl.parser.ast.impl with type arguments of type NRLError | |
---|---|
protected void |
ConstraintAstResolver.collectFragmentIds(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect all fragment ids |
protected void |
ConstraintAstResolver.collectGlobalVariableIds(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect global variables. |
protected void |
ConstraintAstResolver.collectIdentifiers(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect all identifiable parts. |
protected void |
ConstraintAstResolver.collectRuleIds(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect all rule ids |
protected void |
ConstraintAstResolver.collectRuleSetIds(RuleFileImpl ruleFile,
List<NRLError> errors)
Collect all rule set ids |
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. |
protected static void |
ModelReferenceHelper.raiseError(List<NRLError> errors,
ModelReferenceImpl ref,
int statusCode,
String message)
Helper method to raise errors on model references more efficiently. |
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.resolveActions(IRuleFile ruleFile,
List<NRLError> errors)
|
protected void |
AntlrModelResolver.resolveConstraints(IRuleFile ruleFile,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
|
protected void |
AntlrModelResolver.resolveGlobalVariables(IRuleFile ruleFile,
List<NRLError> errors)
|
protected void |
ConstraintAstResolver.resolveIncompleteExistsStatements(RuleFileImpl ruleFile,
List<NRLError> errors)
This resolves inclompete exists statements. |
protected void |
AntlrModelResolver.resolveMultiContextDeclarations(IRuleFile ruleFile,
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 |
ConstraintAstResolver.resolveReferences(RuleFileImpl ruleFile,
List<NRLError> errors)
Resolve references within the AST. |
protected void |
AntlrModelResolver.resolveRuleSets(IRuleFile ruleFile,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
Resolve the context and constraints of rule set declarations |
protected void |
ConstraintAstResolver.resolveRuleSets(RuleFileImpl ruleFile,
List<NRLError> errors)
Resolve rule set references. |
protected void |
AntlrModelResolver.resolveSingleContextDeclarations(IRuleFile ruleFile,
List<NRLError> errors)
|
protected void |
AntlrModelResolver.resolveValidationFragmentDeclaration(IValidationFragmentDeclaration decl,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
|
protected void |
ConstraintAstResolver.validateRuleParameters(IRuleFile ruleFile,
List<NRLError> errors)
Ensure that the names of rule parameters are ok. |
Constructor parameters in net.sourceforge.nrl.parser.ast.impl with type arguments of type NRLError | |
---|---|
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)
|
Uses of NRLError in net.sourceforge.nrl.parser.operators |
---|
Methods in net.sourceforge.nrl.parser.operators that return types with arguments of type NRLError | |
---|---|
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. |
Method parameters in net.sourceforge.nrl.parser.operators with type arguments of type NRLError | |
---|---|
IOperators |
XmlOperatorLoader.load(File file,
List<NRLError> errors)
Load from a file - see #load(Reader) . |
IOperators |
XmlOperatorLoader.load(URI baseURI,
URI operatorFileUri,
List<NRLError> errors)
Load an operator file from a URI (relative or absolute) resolved against an absolute base URI. |
Uses of NRLError in net.sourceforge.nrl.parser.type |
---|
Fields in net.sourceforge.nrl.parser.type with type parameters of type NRLError | |
---|---|
protected List<NRLError> |
ConstraintTypeChecker.errors
|
Methods in net.sourceforge.nrl.parser.type that return types with arguments of type NRLError | |
---|---|
List<NRLError> |
ITypeChecker.check(IOperators operators)
Type check an operator collection. |
List<NRLError> |
ConstraintTypeChecker.check(IOperators operators)
|
List<NRLError> |
ITypeChecker.check(IRuleFile ruleFile)
Type check a rule file and assign a type to all constraints. |
List<NRLError> |
ConstraintTypeChecker.check(IRuleFile ruleFile)
|
List<NRLError> |
ConstraintTypeChecker.getErrors()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |