The Parle\RLexer class
Multistate lexer class. Lexemes can be defined on the fly. If the particular lexer instance is meant to be used with Parle\RParser, the token IDs need to be taken from there. Otherwise, arbitrary token IDs can be supplied. Note, that Parle\Parser is not compatible with this lexer.
Intro
Multistate lexer class. Lexemes can be defined on the fly. If the particular lexer instance is meant to be used with Parle\RParser, the token IDs need to be taken from there. Otherwise, arbitrary token IDs can be supplied. Note, that Parle\Parser is not compatible with this lexer.
Class synopsis
Predefined Constants
Parle\RLexer::ICASEParle\RLexer::DOT_NOT_LFParle\RLexer::DOT_NOT_CRLFParle\RLexer::SKIP_WSParle\RLexer::MATCH_ZERO_LEN
Properties
bolStart of input flag.
flagsLexer flags.
stateCurrent lexer state, readonly.
markerPosition of the latest token match, readonly.
cursorCurrent input offset, readonly.
Rlexer