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.


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IConstraint getConstraint()
          Get the rule constraint.
 ICompoundReport getReport()
          Return the report for the rule.
 List<IVariableDeclaration> getVariableDeclarations()
          Return the variables declared for this constraint.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.IRuleDeclaration
getRuleSet, setRuleSet
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.ISingleContextDeclaration
getContext
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.IDeclaration
getId
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

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