jaula API Reference
version 1.4.0
|
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 int yylex()
Retrieves tokens from the input.
class for lexical analysis exceptions
Definition: jaula_lexan_error.h:52
const std::string & getTokenData(void) const
Retrieves last token associated data.
std::string tokenData
Container for the token associated data.
Definition: jaula_lexan.h:156
Lexan(std::istream &in_stream, bool comments_allowed=false)
Constructor.
Namespace for all library definitions.
Definition: jaula.h:438
virtual ~Lexan()
Destructor.
virtual void LexerError(const char *detail)
Error report.
bool commented
Flag for extending language to accept # comments.
Definition: jaula_lexan.h:151
const Lexan_Error * getErrorReport(void) const
Retrieves details for the last error detected.
Lexan_Error * pErrorReport
Pointer to the last exception detected.
Definition: jaula_lexan.h:161
Lexical Analysis implementation.
Definition: jaula_lexan.h:83
Copyright (c) 2007, 2008, 2009 Kombo Morongo.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
API Reference Generated for jaula by