org.inxar.syntacs.grammar.regular
Interface RegularToken

All Superinterfaces:
Cloneable, Token

public interface RegularToken
extends Token

The RegularToken interface describes a Token which is specifically described using a RegularExpression.


Fields inherited from interface org.inxar.syntacs.grammar.Token
EPSILON, ERROR, STOP, UNDEF
 
Method Summary
 RegularGrammar getGrammar()
          Return the RegularGrammar to which this RegularToken belongs.
 RegularExpression getRegularExpression()
          Returns the RegularExpression which implies the set of strings this Token may assume.
 
Methods inherited from interface org.inxar.syntacs.grammar.Token
clone, getID, getName
 

Method Detail

getRegularExpression

public RegularExpression getRegularExpression()
Returns the RegularExpression which implies the set of strings this Token may assume.

getGrammar

public RegularGrammar getGrammar()
Return the RegularGrammar to which this RegularToken belongs.