Logo Search packages:      
Sourcecode: jaula version File versions

JAULA::Lexan Class Reference
[JAULA: JSON lexical analysis]

#include <jaula_lexan.h>

List of all members.


Detailed Description

Lexical Analysis implementation.

This class implements the lexical analysis for JSON as specified by RFC 4627.
Author:
Kombo Morongo <morongo666@gmail.com>

Definition at line 83 of file jaula_lexan.h.


Public Member Functions

Lexan_Error const * getErrorReport (void) const
 Retrieves details for the last error detected.
std::string const & getTokenData (void) const
 Retrieves last token associated data.
 Lexan (std::istream &in_stream, bool comments_allowed=false)
 Constructor.
virtual void LexerError (const char *detail)
 Error report.
virtual int yylex ()
 Retrieves tokens from the input.
virtual ~Lexan ()
 Destructor.

Private Attributes

bool commented
 Flag for extending language to accept # comments.
Lexan_ErrorpErrorReport
 Pointer to the last exception detected.
std::string tokenData
 Container for the token associated data.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index