29 #ifndef _JAULA_LEXAN_H_
30 #define _JAULA_LEXAN_H_
55 #define NULL_VALUE 258
56 #define FALSE_VALUE 259
57 #define TRUE_VALUE 260
58 #define NUMBER_VALUE 261
59 #define NUMBER_INT_VALUE 262
60 #define STRING_VALUE 263
62 #ifndef __FLEX_LEXER_H
64 #define yyFlexLexer jaulaFlexLexer
65 #include <FlexLexer.h>
68 #include <jaula/jaula_lexan_error.h>
83 class Lexan :
public ::jaulaFlexLexer
98 Lexan(std::istream &in_stream,
bool comments_allowed =
false);
virtual void LexerError(const char *detail)
Error report.
std::string tokenData
Container for the token associated data.
Definition: jaula_lexan.h:156
class for lexical analysis exceptions
Definition: jaula_lexan_error.h:52
Lexan_Error const * getErrorReport(void) const
Retrieves details for the last error detected.
Lexical Analysis implementation.
Definition: jaula_lexan.h:83
Lexan(std::istream &in_stream, bool comments_allowed=false)
Constructor.
Lexan_Error * pErrorReport
Pointer to the last exception detected.
Definition: jaula_lexan.h:161
std::string const & getTokenData(void) const
Retrieves last token associated data.
Namespace for all library definitions.
Definition: jaula.h:438
virtual ~Lexan()
Destructor.
virtual int yylex()
Retrieves tokens from the input.
bool commented
Flag for extending language to accept # comments.
Definition: jaula_lexan.h:151