cprover
json_parser.h File Reference
#include <cassert>
#include <stack>
#include <util/parser.h>
#include <util/json.h>
Include dependency graph for json_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  json_parsert
 

Functions

int yyjsonparse ()
 
int yyjsonerror (const std::string &error)
 
bool parse_json (std::istream &in, const std::string &filename, message_handlert &message_handler, jsont &dest)
 
bool parse_json (const std::string &filename, message_handlert &message_handler, jsont &dest)
 

Variables

json_parsert json_parser
 

Function Documentation

§ parse_json() [1/2]

§ parse_json() [2/2]

bool parse_json ( const std::string &  filename,
message_handlert message_handler,
jsont dest 
)

Definition at line 40 of file json_parser.cpp.

References parse_json().

§ yyjsonerror()

int yyjsonerror ( const std::string &  error)

Definition at line 125 of file json_y.tab.cpp.

References json_parser, parsert::parse_error(), and yyjsontext.

Referenced by json_parsert::clear().

§ yyjsonparse()

int yyjsonparse ( void  )

Definition at line 1053 of file json_y.tab.cpp.

Referenced by json_parsert::parse().

Variable Documentation

§ json_parser

json_parsert json_parser

Definition at line 13 of file json_parser.cpp.

Referenced by json_parsert::clear(), yyjsonerror(), and yyjsonparse().