|
| static bool | blocks_constant_call_fold (const nlohmann::json &arg_node) |
| static exprt | call_as_value (const exprt &call) |
| | A call converted as a statement, as a side-effect expression: goto-convert hoists it in evaluation order (short-circuit, loop guards).
|
| static void | refuse_unbound_arguments (const nlohmann::json &element, bool is_lambda) |
| | Keyword, starred and default arguments of a call of an expression's result are not bound.
|
| static bool | passes_as (const typet &arg, const code_typet::argumentt ¶m) |
| | Whether an argument of type arg binds param as it is, a string decaying to a pointer to its first character.
|
| static void | refuse_unbound_parameters (const side_effect_expr_function_callt &call, const code_typet &callee_type, bool is_lambda) |
| static bool | reads_only (const nlohmann::json &node, const std::set< std::string > ¶ms) |
| | Whether every name node reads is one of params.
|
| static nlohmann::json | lambda_bound_to (const std::string &name, const nlohmann::json &body, const nlohmann::json &ast) |
| | The lambda name is bound to in body: name = lambda ..., or name = make() where make returns a lambda reading only its parameters.
|
| static bool | is_name (const nlohmann::json &node, const std::string &name) |
| static void | push_dict_values (const nlohmann::json &value, std::vector< nlohmann::json > &out) |
| static void | collect_dict_stores (const nlohmann::json &node, const std::string &name, std::vector< nlohmann::json > &out) |
| static void | collect_dict_values (const nlohmann::json &node, const std::string &name, std::vector< nlohmann::json > &out) |
| static void | collect_own_returns (const nlohmann::json &node, std::vector< nlohmann::json > &out) |
| static bool | binds_dict_literal (const nlohmann::json &body, const nlohmann::json &name) |
| static bool | returned_dict_values (const nlohmann::json &module, const nlohmann::json &call, std::vector< nlohmann::json > &out) |
| static const nlohmann::json & | subscript_root (const nlohmann::json &node, int &depth) |
| static void | collect_nested_stores (const nlohmann::json &node, const nlohmann::json &container, std::vector< nlohmann::json > &out) |
| static void | refuse_mixed_return_types () |
| static bool | append_default_arguments (const code_typet &type, exprt::operandst &args) |
| static bool | used_as_value (const nlohmann::json &node, const std::string &name) |