CBMC
Loading...
Searching...
No Matches
Functions
json_expr.h File Reference

Expressions in JSON. More...

#include <util/irep.h>
#include <util/json.h>
+ Include dependency graph for json_expr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

  Output a CBMC expression in json.
 
  Output a CBMC type in json.
 

Detailed Description

Expressions in JSON.

Definition in file json_expr.h.

Function Documentation

◆  json() [1/2]

json_objectt json ( const exprtexpr,
const namespacetns,
const irep_idtmode 
)

Output a CBMC expression in json.

The mode is used to correctly report types.

Parameters
expr an expression
ns a namespace
mode language in which the code was written
Returns
a json object

Definition at line 203 of file json_expr.cpp.

◆  json() [2/2]

json_objectt json ( const typettype,
const namespacetns,
const irep_idtmode 
)

Output a CBMC type in json.

The mode argument is used to correctly report types.

Parameters
type a type
ns a namespace
mode language in which the code was written
Returns
a json object

Definition at line 78 of file json_expr.cpp.

AltStyle によって変換されたページ (->オリジナル) /