CBMC
assignments_from_json.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Assignments to values specified in JSON files
4 
5 Author: Diffblue Ltd.
6 
7 \*******************************************************************/
8 
10 
11 #ifndef CPROVER_JAVA_BYTECODE_ASSIGNMENTS_FROM_JSON_H
12 #define CPROVER_JAVA_BYTECODE_ASSIGNMENTS_FROM_JSON_H
13 
14 #include "code_with_references.h"
15 
16 class jsont;
17 class symbol_table_baset;
19 
99  const exprt &expr,
100  const jsont &json,
101  const irep_idt &function_id,
103  std::optional<ci_lazy_methods_neededt> &needed_lazy_methods,
104  size_t max_user_array_length,
105  std::unordered_map<std::string, object_creation_referencet> &references);
106 
107 #endif // CPROVER_JAVA_BYTECODE_ASSIGNMENTS_FROM_JSON_H
code_with_references_listt assign_from_json(const exprt &expr, const jsont &json, const irep_idt &function_id, symbol_table_baset &symbol_table, std::optional< ci_lazy_methods_neededt > &needed_lazy_methods, size_t max_user_array_length, std::unordered_map< std::string, object_creation_referencet > &references)
Given an expression expr representing a Java object or primitive and a JSON representation json of th...
const symbol_table_baset & symbol_table
Wrapper around a list of shared pointer to code_with_referencest objects, which provides a nicer inte...
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
Definition: json.h:27
The symbol table base class interface.
static void json(json_objectT &result, const irep_idt &property_id, const property_infot &property_info)
Definition: properties.cpp:120