net.sourceforge.nrl.parser.ast.action.impl
Class ActionAstResolver
java.lang.Object
net.sourceforge.nrl.parser.ast.impl.ConstraintAstResolver
net.sourceforge.nrl.parser.ast.action.impl.ActionAstResolver
public class ActionAstResolver
- extends ConstraintAstResolver
This action AST resolver extends the basic resolver and adds resolving and
checking of fragment references.
- Author:
- Christian Nentwich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actionFragmentIds
protected Map<String,IActionFragmentDeclaration> actionFragmentIds
ActionAstResolver
public ActionAstResolver()
collectIdentifiers
protected void collectIdentifiers(RuleFileImpl ruleFile,
List<NRLError> errors)
- Extends the base implementation to also collect fragment ids.
- Overrides:
collectIdentifiers
in class ConstraintAstResolver
- Parameters:
ruleFile
- the rule fileerrors
- errors, if any are found during collection
collectActionFragmentIds
protected void collectActionFragmentIds(RuleFileImpl ruleFile,
List<NRLError> errors)
- Collect action fragment identifiers in the actionFragmentIds list.
- Parameters:
ruleFile
- the rule fileerrors
- the error list
resolveReferences
protected void resolveReferences(RuleFileImpl ruleFile,
List<NRLError> errors)
- Override the superclass method to also resolve fragment references.
- Overrides:
resolveReferences
in class ConstraintAstResolver
- Parameters:
ruleFile
- the rule file to processerrors
- the error list to add to if errors occur
Copyright © 2006-2013. All Rights Reserved.