Package net.sourceforge.nrl.parser.ast.impl

The ANTLR v3 implementation of the AST, including a JFlex lexer and ANTLR v3 parser.

See:
          Description

Class Summary
Antlr3NRLBaseAst The basic AST node, extends the ANTLR 3 AST.
Antlr3NRLTreeAdaptor The new tree adaptor class for ANTLR 3: this maps token types that are represented as tree nodes to proper classes in the net.sourceforge.nrl.parser.ast.impl package.
AntlrAstVisitor An abstract class that narrows the AST visitor interface a bit, to pass it an Antlr3NRLBaseAst.
AntlrModelResolver This class resolves all model references on the AST and replaces the string values with with proper references to model elements.
AntlrModelResolverVisitor A visitor for resolving a single rule.
AntlrOperatorResolverVisitor An implementation of an operator resolver.
ConstraintAstResolver A resolver class that performs basic processing of the AST and returns semantic errors if it fails.
DeclarationImpl  
ModelFileReferenceImpl  
ModelReferenceHelper A helper class for resolving model references against a model.
MultipleContextDeclarationImpl  
NamedParameterImpl  
NRLActionParser  
NRLActionParser_NRLConstraintRules  
NRLActionParser_NRLConstraintRules.addExpression_return  
NRLActionParser_NRLConstraintRules.additionalContextList_return  
NRLActionParser_NRLConstraintRules.andStatement_return  
NRLActionParser_NRLConstraintRules.castExpression_return  
NRLActionParser_NRLConstraintRules.collectionIndex_return  
NRLActionParser_NRLConstraintRules.compoundReport_return  
NRLActionParser_NRLConstraintRules.concatenatedReport_return  
NRLActionParser_NRLConstraintRules.concatenatedReportTerms_return  
NRLActionParser_NRLConstraintRules.conditionalReport_return  
NRLActionParser_NRLConstraintRules.constraint_return  
NRLActionParser_NRLConstraintRules.constraintRuleReport_return  
NRLActionParser_NRLConstraintRules.context_return  
NRLActionParser_NRLConstraintRules.enumerator_return  
NRLActionParser_NRLConstraintRules.enumeratorDisambiguation_return  
NRLActionParser_NRLConstraintRules.enumeratorStart_return  
NRLActionParser_NRLConstraintRules.existsStatement_return  
NRLActionParser_NRLConstraintRules.expression_return  
NRLActionParser_NRLConstraintRules.forallStart_return  
NRLActionParser_NRLConstraintRules.forallStatement_return  
NRLActionParser_NRLConstraintRules.functionalExpression_return  
NRLActionParser_NRLConstraintRules.globalExistsStatement_return  
NRLActionParser_NRLConstraintRules.globalVariableDeclaration_return  
NRLActionParser_NRLConstraintRules.identifier_return  
NRLActionParser_NRLConstraintRules.identifierSequence_return  
NRLActionParser_NRLConstraintRules.iffStatement_return  
NRLActionParser_NRLConstraintRules.impliesStatement_return  
NRLActionParser_NRLConstraintRules.infixOperatorExpression_return  
NRLActionParser_NRLConstraintRules.infixPropertyApplication_return  
NRLActionParser_NRLConstraintRules.isSubtypePredicate_return  
NRLActionParser_NRLConstraintRules.listDefinition_return  
NRLActionParser_NRLConstraintRules.logicalStatement_return  
NRLActionParser_NRLConstraintRules.modelReference_return  
NRLActionParser_NRLConstraintRules.modelReferenceList_return  
NRLActionParser_NRLConstraintRules.multipleContext_return  
NRLActionParser_NRLConstraintRules.multipleExistsStatement_return  
NRLActionParser_NRLConstraintRules.multipleNotExistsStatement_return  
NRLActionParser_NRLConstraintRules.multiplyExpression_return  
NRLActionParser_NRLConstraintRules.namedParameterEntry_return  
NRLActionParser_NRLConstraintRules.notExistsStatement_return  
NRLActionParser_NRLConstraintRules.number_return  
NRLActionParser_NRLConstraintRules.operatorInvocation_return  
NRLActionParser_NRLConstraintRules.operatorParameterList_return  
NRLActionParser_NRLConstraintRules.orStatement_return  
NRLActionParser_NRLConstraintRules.predicateStatement_return  
NRLActionParser_NRLConstraintRules.propertyApplication_return  
NRLActionParser_NRLConstraintRules.ruleSetDeclaration_return  
NRLActionParser_NRLConstraintRules.selectionExpression_return  
NRLActionParser_NRLConstraintRules.simpleOrComplexConstraint_return  
NRLActionParser_NRLConstraintRules.simpleReport_return  
NRLActionParser_NRLConstraintRules.simpleReports_return  
NRLActionParser_NRLConstraintRules.simpleTerm_return  
NRLActionParser_NRLConstraintRules.simpleVariableDeclaration_return  
NRLActionParser_NRLConstraintRules.statement_return  
NRLActionParser_NRLConstraintRules.term_return  
NRLActionParser_NRLConstraintRules.validationFragmentDeclaration_return  
NRLActionParser_NRLConstraintRules.validationRuleDeclaration_return  
NRLActionParser_NRLConstraintRules.validationRuleVariableDeclaration_return  
NRLActionParser.action_return  
NRLActionParser.actionContext_return  
NRLActionParser.actionFragmentDeclaration_return  
NRLActionParser.actionRuleDeclaration_return  
NRLActionParser.addAction_return  
NRLActionParser.compoundAction_return  
NRLActionParser.conditionalAction_return  
NRLActionParser.createAction_return  
NRLActionParser.declaration_return  
NRLActionParser.declarations_return  
NRLActionParser.fileBody_return  
NRLActionParser.forEachAction_return  
NRLActionParser.macroApplicationAction_return  
NRLActionParser.macroApplicationParams_return  
NRLActionParser.modelFileReference_return  
NRLActionParser.modelFileReferences_return  
NRLActionParser.operatorAction_return  
NRLActionParser.operatorActionParams_return  
NRLActionParser.operatorFileReference_return  
NRLActionParser.operatorFileReferences_return  
NRLActionParser.removeAction_return  
NRLActionParser.removeFromCollectionAction_return  
NRLActionParser.setAction_return  
NRLActionParser.simpleAction_return  
NRLActionParser.simpleActionList_return  
NRLActionParser.singleActionAndEOF_return  
NRLActionParser.variableDeclarationAction_return  
NRLJFlexer This class is a scanner generated by JFlex 1.4.3 on 08/01/13 09:34 from the specification file c:/Users/Matthew/Repositories/nrl/nrlparser/src/main/java/net/sourceforge/nrl/parser/ast/impl/nrl.lex
OperatorFileReferenceImpl  
RuleFileImpl ANTLR implementation of the overall rule file AST node.
RuleSetDeclarationImpl  
SingleContextDeclarationImpl  
 

Exception Summary
SyntaxErrorException An extension of a token stream exception that adds a syntax error object for diagnosis.
 

Package net.sourceforge.nrl.parser.ast.impl Description

The ANTLR v3 implementation of the AST, including a JFlex lexer and ANTLR v3 parser. Each interface specified in the AST package is implemented using a (private) concrete class here.

In order to make use of the implementation, use the methods in the AntlrNRLParser class, up two packages, which provides the main facade.



Copyright © 2006-2013. All Rights Reserved.