Regular expression matcher with look ahead
Class ReRuleLA( token, action, re, nextState ) from \
ReRule(( re, nextState, action))
| token | the string matching a fixed token |
| action | the action (function) that should be done when hitting the token. |
The function will be called with the token as last parameter.
This rule won't indicate how many characters have been matched, causing an application of the rule and a state change but not discarding the matched characters.
| Properties | |
| lookAhead | |
| Methods | |
| apply |
| Properties inherited from class ReRule | |
| anchored | |
| eol | |
| grabs | |
| re | |
| token | |
| Methods inherited from class ReRule | |
| apply | |
| match | |
| Properties inherited from class Rule | |
| action | |
| lookAhead | |
| matchLen | |
| nextState | |
| Methods inherited from class Rule | |
| apply | |
| match |
apply( context )