Uses of Interface
net.sourceforge.nrl.parser.ast.IRuleFile

Packages that use IRuleFile
net.sourceforge.nrl.parser This top-level package contains utility classes referenced elsewhere. 
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. 
 

Uses of IRuleFile in net.sourceforge.nrl.parser
 

Methods in net.sourceforge.nrl.parser that return IRuleFile
 IRuleFile NRLParser.parse(InputStream stream)
          Parse an NRL file using a stream.
 IRuleFile INRLParser.parse(InputStream stream)
          Parse an input stream and construct an AST.
 IRuleFile NRLParser.parse(Reader reader)
          Parse an NRL file using a reader, and return an AST.
 IRuleFile INRLParser.parse(Reader reader)
          Alternative method for readers instead of streams
 

Methods in net.sourceforge.nrl.parser with parameters of type IRuleFile
 void NRLParser.resolveModelReferences(IRuleFile ruleFile, IModelCollection models)
          Attach model information to a parsed rule file AST.
 void INRLParser.resolveModelReferences(IRuleFile ruleFile, IModelCollection models)
          Resolve model reference in the AST by looking up model elements.
 void NRLParser.resolveOperatorReferences(IRuleFile ruleFile, IOperators[] operators)
          Resolve reference to operator invocations given an operator collection.
 void INRLParser.resolveOperatorReferences(IRuleFile ruleFile, IOperators[] operators)
          Resolve operator references in the AST by looking up operator definitions in a collection of operators.
 

Uses of IRuleFile in net.sourceforge.nrl.parser.ast.action
 

Methods in net.sourceforge.nrl.parser.ast.action with parameters of type IRuleFile
 void INRLActionDetailVisitor.Stub.visitRuleFileAfter(IRuleFile file)
           
 boolean INRLActionDetailVisitor.Stub.visitRuleFileBefore(IRuleFile file)
           
 

Uses of IRuleFile in net.sourceforge.nrl.parser.ast.constraints
 

Methods in net.sourceforge.nrl.parser.ast.constraints with parameters of type IRuleFile
 void INRLConstraintDetailVisitor.visitRuleFileAfter(IRuleFile file)
           
 void INRLConstraintDetailVisitor.Stub.visitRuleFileAfter(IRuleFile file)
           
 boolean INRLConstraintDetailVisitor.visitRuleFileBefore(IRuleFile file)
           
 boolean INRLConstraintDetailVisitor.Stub.visitRuleFileBefore(IRuleFile file)
           
 

Uses of IRuleFile in net.sourceforge.nrl.parser.ast.constraints.impl
 

Methods in net.sourceforge.nrl.parser.ast.constraints.impl with parameters of type IRuleFile
 void ValidationFragmentDependencyProcessor.addDeclarations(IRuleFile file)
           
 

Uses of IRuleFile in net.sourceforge.nrl.parser.ast.impl
 

Classes in net.sourceforge.nrl.parser.ast.impl that implement IRuleFile
 class RuleFileImpl
          ANTLR implementation of the overall rule file AST node.
 

Methods in net.sourceforge.nrl.parser.ast.impl with parameters of type IRuleFile
protected  void AntlrModelResolver.eliminateExistenceWithBackreference(IRuleFile ruleFile)
          Eliminate any "exists" nodes whose element reference refers to the context element.
protected  Map<String,IVariableDeclaration> AntlrModelResolver.getGlobalVariablesAsMap(IRuleFile ruleFile)
           
 List<NRLError> AntlrModelResolver.resolve(IRuleFile ruleFile)
          Main method - resolve all model references in the entire AST.
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.resolveDeclarationsWithoutContext(IRuleFile ruleFile)
          Resolve all action rule/macro declarations that do not have a context, i.e.
protected  void AntlrModelResolver.resolveGlobalVariables(IRuleFile ruleFile, List<NRLError> errors)
           
protected  void AntlrModelResolver.resolveMultiContextDeclarations(IRuleFile ruleFile, List<NRLError> errors)
           
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.resolveSingleContextDeclarations(IRuleFile ruleFile, List<NRLError> errors)
           
protected  void ConstraintAstResolver.validateRuleParameters(IRuleFile ruleFile, List<NRLError> errors)
          Ensure that the names of rule parameters are ok.
 

Uses of IRuleFile in net.sourceforge.nrl.parser.type
 

Methods in net.sourceforge.nrl.parser.type with parameters of type IRuleFile
 List<NRLError> ITypeChecker.check(IRuleFile ruleFile)
          Type check a rule file and assign a type to all constraints.
 List<NRLError> ConstraintTypeChecker.check(IRuleFile ruleFile)
           
protected  void ConstraintTypeChecker.checkRemainingDeclarations(IRuleFile ruleFile)
          Check everything that is not: a global variable a property a rule set
protected  void ActionTypeChecker.checkRemainingDeclarations(IRuleFile ruleFile)
           
 void ConstraintTypeChecker.visitRuleFileAfter(IRuleFile file)
           
 boolean ConstraintTypeChecker.visitRuleFileBefore(IRuleFile file)
           
 



Copyright © 2006-2011. All Rights Reserved.