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