Logo Search packages:      
Sourcecode: jaula version File versions

JAULA::Parser::Value_Parser Class Reference
[JAULA: JSON data parser]

List of all members.


Detailed Description

JSON Value Parser.

Parses a value from the input stream.
Author:
Kombo Morongo <morongo666@gmail.com>

Definition at line 126 of file jaula_parse.h.


Public Member Functions

 Value_Parser (void)
 Constructor.
 ~Value_Parser (void)
 Destructor.

Static Public Member Functions

static ValueparseValue (Lexan &lexan, unsigned int token) throw (Exception)
 reads a single JSON value

Private Types

enum  parser_states {
  START, array_addItem, array_nextItem, error,
  false_value, null_value, number_int_value, number_value,
  property_begin, property_name, property_value, property_next,
  string_value, true_value, END
}
 Enumeration for the parser state machine. More...

Static Private Member Functions

static void EOFError (Lexan &lexan, Syntax_Error const &ex) throw (Exception)
 Analyzes the reason for an EOF condition.

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

Generated by  Doxygen 1.6.0   Back to index