CBMC
json_expr.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Expressions in JSON
4 
5 Author: Peter Schrammel
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
13 #define CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
14 
15 #include <util/irep.h>
16 #include <util/json.h>
17 
18 class typet;
19 class exprt;
20 class namespacet;
21 
22 json_objectt json(const exprt &, const namespacet &, const irep_idt &mode);
23 
24 json_objectt json(const typet &, const namespacet &, const irep_idt &mode);
25 
26 #endif // CPROVER_GOTO_PROGRAMS_JSON_EXPR_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:38
Base class for all expressions.
Definition: expr.h:56
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition: namespace.h:94
The type of an expression, extends irept.
Definition: type.h:29
json_objectt json(const exprt &, const namespacet &, const irep_idt &mode)
Output a CBMC expression in json.
Definition: json_expr.cpp:205