|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
R - type of rules.public interface RuleActivator<R>
The lexer uses an object that implements this interface to change the set of active rule at the beginning of a token recognition. This can be use to enable/disable some rule depending on the context.
| Method Summary | |
|---|---|
R[] |
activeRules()
Determines the set of active rules. |
| Method Detail |
|---|
R[] activeRules()
activateRules
is called before the beginning of new token recognition. The returned list
must be random access for efficiency
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||