Extend matcher class M with a member pointing to the instantiating lexer class. More...
#include <abslexer.h>
Public Member Functions | |
Matcher (const typename M::Pattern &pattern, const Input &input, AbstractLexer *lexer, const char *opt=NULL) | |
Protected Member Functions | |
virtual bool | wrap (void) |
Returns true if matcher should wrap input after EOF. More... | |
Protected Attributes | |
AbstractLexer * | lexer_ |
Points to the lexer class that instantiated this Matcher. More... | |
Extend matcher class M with a member pointing to the instantiating lexer class.
|
inline |
pattern | regex pattern to instantiate matcher class M(pattern, input) |
input | the reflex::Input to instantiate matcher class M(pattern, input) |
lexer | points to the instantiating lexer class |
opt | option string of the form (A|N|T(=[[:digit:]])?|;)* |
|
inlineprotectedvirtual |
Returns true if matcher should wrap input after EOF.
Reimplemented in reflex::FlexLexer< M >::Matcher.
|
protected |
Points to the lexer class that instantiated this Matcher.