Definition at line 87 of file vscan.cc.
Public Member Functions | |
FlexVScan (std::istream &stream, string fileName) | |
virtual | ~FlexVScan () |
virtual bool | readNext (string &) |
virtual bool | hasError () const |
virtual bool | readNext (std::string &token)=0 |
Private Attributes | |
VFlexLexer * | flex_ |
superior (flex based) scanner |
FlexVScan | ( | std::istream & | stream, | |
string | fileName | |||
) | [inline] |
bool readNext | ( | string & | data | ) | [virtual] |
Definition at line 107 of file vscan.cc.
References StreamDecorator::C_LIGHT_PURPLE, StreamDecorator::C_NO_COLOR, flex_, VFlexLexer::postError(), and VFlexLexer::readNext().
virtual bool hasError | ( | ) | const [inline, virtual] |
Return true if any error was detected.
Implements IErrorSensitive.
Definition at line 96 of file vscan.cc.
References flex_, and VFlexLexer::hasError().
virtual bool readNext | ( | std::string & | token | ) | [pure virtual, inherited] |
VFlexLexer* flex_ [private] |
superior (flex based) scanner
Definition at line 100 of file vscan.cc.
Referenced by FlexVScan(), hasError(), readNext(), and ~FlexVScan().