|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rule
A Rule represents a rule of the lexer. Implementations of this
interface are, usually, values of enumerations produced by the Tatoo compiler
compiler .
| Method Summary | |
|---|---|
boolean |
beginningOfLineRequired()
Indicates if he main regular expression associated with the rule must starts at the beginning of the line |
RegexTable |
getFollowRegex()
Returns the regular expression that must follow the main regular expression associated with this rule. |
RegexTable |
getMainRegex()
Returns the main regular expression associated with this rule. |
| Method Detail |
|---|
RegexTable getMainRegex()
boolean beginningOfLineRequired()
true if the main regular expression must starts at
the beginning a the line; false otherwise.RegexTable getFollowRegex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||