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 ()
 
void yyjsonrestart (FILE *input_file)
 Immediately switch to a different input stream. More...
 
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]

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

Definition at line 40 of file json_parser.cpp.

◆ parse_json() [2/2]

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

Definition at line 16 of file json_parser.cpp.

◆ yyjsonerror()

int yyjsonerror ( const std::string &  error)

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

◆ yyjsonparse()

int yyjsonparse ( void  )

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

◆ yyjsonrestart()

void yyjsonrestart ( FILE *  input_file)

Immediately switch to a different input stream.

Parameters
input_fileA readable stream.
Note
This function does not reset the start condition to INITIAL .

Definition at line 1482 of file json_lex.yy.cpp.

Variable Documentation

◆ json_parser

json_parsert json_parser

Definition at line 13 of file json_parser.cpp.