CBMC
|
Expressions in JSON. More...
Go to the source code of this file.
Functions | |
json_objectt | json (const exprt &, const namespacet &, const irep_idt &mode) |
Output a CBMC expression in json. More... | |
json_objectt | json (const typet &, const namespacet &, const irep_idt &mode) |
Output a CBMC type in json. More... | |
Expressions in JSON.
Definition in file json_expr.h.
json_objectt json | ( | const exprt & | expr, |
const namespacet & | ns, | ||
const irep_idt & | mode | ||
) |
Output a CBMC expression in json.
The mode is used to correctly report types.
expr | an expression |
ns | a namespace |
mode | language in which the code was written |
Definition at line 205 of file json_expr.cpp.
json_objectt json | ( | const typet & | type, |
const namespacet & | ns, | ||
const irep_idt & | mode | ||
) |
Output a CBMC type in json.
The mode
argument is used to correctly report types.
type | a type |
ns | a namespace |
mode | language in which the code was written |
Definition at line 80 of file json_expr.cpp.