public class ConstraintRuleDeclarationImpl extends SingleContextDeclarationImpl implements IConstraintRuleDeclaration
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
ConstraintRuleDeclarationImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(INRLAstVisitor visitor)
Accept a visitor to this node.
|
String |
dump(int indent)
Deprecated.
|
IConstraint |
getConstraint()
Get the rule constraint.
|
String |
getId()
Return the rule id.
|
ICompoundReport |
getReport()
Return the report for the rule.
|
IRuleSetDeclaration |
getRuleSet()
Return the rule set that the rule is contained in, if any.
|
List<IVariableDeclaration> |
getVariableDeclarations()
Return the variables declared for this constraint.
|
void |
setRuleSet(IRuleSetDeclaration ruleSet)
Set the rule set that this rule is contained in.
|
areAdditionalParametersFullyResolved, getAdditionalParameterNames, getAdditionalParameterType, getAdditionalParameterTypeReference, getContext, getModelReference, initialiseAdditionalParametersFromAst, isOldContextFormat, setAdditionalParameterType, setContextdoIndent, getColumn, getLine, getUserData, initialisePositionFromChild, setColumn, setLine, setUserDatadupNode, getCharPositionInLine, getChildIndex, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdditionalParameterNames, getAdditionalParameterType, getContextgetColumn, getLine, getUserData, setUserDatapublic ConstraintRuleDeclarationImpl(org.antlr.runtime.Token token)
public void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitor@Deprecated public String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic IConstraint getConstraint()
IConstraintRuleDeclarationgetConstraint in interface IConstraintRuleDeclarationpublic String getId()
IDeclarationgetId in interface IDeclarationgetId in class DeclarationImplpublic ICompoundReport getReport()
IConstraintRuleDeclarationgetReport in interface IConstraintRuleDeclarationpublic IRuleSetDeclaration getRuleSet()
IRuleDeclarationThis can only be called once the AST has been fully resolved.
getRuleSet in interface IRuleDeclarationpublic List<IVariableDeclaration> getVariableDeclarations()
IConstraintRuleDeclarationgetVariableDeclarations in interface IConstraintRuleDeclarationpublic void setRuleSet(IRuleSetDeclaration ruleSet)
IRuleDeclarationsetRuleSet in interface IRuleDeclarationruleSet - the rule setCopyright © 2006-2013. All Rights Reserved.