net.sourceforge.nrl.parser.ast.constraints
Interface IConstraintRuleDeclaration
- All Superinterfaces:
- IDeclaration, INRLAstNode, IRuleDeclaration, ISingleContextDeclaration
public interface IConstraintRuleDeclaration
- extends IRuleDeclaration
Declaration of a constraint type rule. Has an id, a context and a constraint.
getConstraint
IConstraint getConstraint()
- Get the rule constraint. Never returns null.
- Returns:
- the constraint
getReport
ICompoundReport getReport()
- Return the report for the rule. Will return null if there is no report.
- Returns:
- the report
getVariableDeclarations
List<IVariableDeclaration> getVariableDeclarations()
- Return the variables declared for this constraint.
- Returns:
- the variables
Copyright © 2006-2010 Christian Nentwich and others