#include <numpy_call_expr.h>
|
| static exprt | build_result (const symbol_id &function_id, const nlohmann::json &call, python_converter &converter) |
| static std::optional< nlohmann::json > | arange_literal (const nlohmann::json &call, const std::string &function, const nlohmann::json &ast) |
| | The literal list the np.arange call builds, in its dtype, a Name among its arguments read from its declaration for code in function; nullopt when the arguments are not constants.
|
| static exprt | fold_from_bytes_byteorder (exprt arg, const nlohmann::json &node, const symbolt &func_symbol, const code_typet::argumentst ¶ms, std::size_t param_idx, const nlohmann::json &module) |
| | Folds a CPython byteorder string bound to params[param_idx] of the int.from_bytes model, whose parameter is a bool, and leaves every other argument unchanged.
|
| static exprt::operandst | strip_ctor_self_parameters (const exprt::operandst &args) |
◆ numpy_call_expr()
| numpy_call_expr::numpy_call_expr |
( |
const symbol_id & | function_id, |
|
|
const nlohmann::json & | call, |
|
|
python_converter & | converter ) |
◆ ~numpy_call_expr()
| numpy_call_expr::~numpy_call_expr |
( |
| ) |
|
◆ arange_literal()
| std::optional< nlohmann::json > numpy_call_expr::arange_literal |
( |
const nlohmann::json & | call, |
|
|
const std::string & | function, |
|
|
const nlohmann::json & | ast ) |
|
static |
The literal list the np.arange call builds, in its dtype, a Name among its arguments read from its declaration for code in function; nullopt when the arguments are not constants.
◆ build_result()
◆ get()
| exprt numpy_call_expr::get |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: