Extends reflex::AbstractLexer<M>::Matcher for Flex-compatibility. More...
#include <flexlexer.h>


Public Member Functions | |
| Matcher (const typename M::Pattern &pattern, const Input &input, FlexLexer *lexer) | |
Public Member Functions inherited from reflex::AbstractLexer< M >::Matcher | |
| Matcher (const typename M::Pattern &pattern, const Input &input, AbstractLexer *lexer, const char *opt=NULL) | |
Protected Member Functions | |
| virtual size_t | get (char *s, size_t n) |
| Read character sequences via a Flex-compatible virtual FlexLexer::LexerInput method. More... | |
| virtual bool | wrap (void) |
| Check the Flex-compatible FlexLexer::yywrap method to determine if matcher should wrap input after EOF. More... | |
Additional Inherited Members | |
Protected Attributes inherited from reflex::AbstractLexer< M >::Matcher | |
| AbstractLexer * | lexer_ |
| Points to the lexer class that instantiated this Matcher. More... | |
Extends reflex::AbstractLexer<M>::Matcher for Flex-compatibility.
|
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 |
|
inlineprotectedvirtual |
Read character sequences via a Flex-compatible virtual FlexLexer::LexerInput method.
|
inlineprotectedvirtual |
Check the Flex-compatible FlexLexer::yywrap method to determine if matcher should wrap input after EOF.
Reimplemented from reflex::AbstractLexer< M >::Matcher.