net.sourceforge.nrl.parser.ast
Interface IDeclaration

All Superinterfaces:
INRLAstNode
All Known Subinterfaces:
IActionFragmentDeclaration, IActionRuleDeclaration, IConstraintRuleDeclaration, IMultipleContextDeclaration, IRuleDeclaration, ISingleContextDeclaration, IValidationFragmentDeclaration

public interface IDeclaration
extends INRLAstNode

A declaration is either a rule declaration or a fragment declaration, as defined by the sub-interfaces.


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 String getId()
          Return the rule id.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getId

String getId()
Return the rule id. Never returns null.

Returns:
the id


Copyright © 2006-2010 Christian Nentwich and others