A function call.
More...
#include <jimple_statement.h>
|
| virtual std::string | to_string () const override |
| | Converts the object into a string.
|
| virtual void | from_json (const json &j) override |
| | Initializes the current instance by parsing a JSON.
|
| virtual expr2tc | to_code2t (contextt &ctx, const std::string &class_name, const std::string &function_name, const locationt &loc) const override |
| | The IREP2 form of this statement, located at loc.
|
| std::string | get_hash_name () const |
| virtual exprt | to_exprt (contextt &, const std::string &, const std::string &) const |
| void | dump () const |
| | Prints the contents into the the stdout.
|
|
| static symbolt | create_jimple_symbolt (const type2tc &t, const std::string &module, const std::string &name, const std::string &id, const std::string function_name="") |
| | creates a symbol with the default characteristics
|
| static symbolt | get_temp_symbol (const type2tc &t, const std::string &class_name, const std::string &function_name) |
| | Create a temporary variable to be used.
|
| static symbolt | get_allocation_function () |
| | Get the allocation function symbol.
|
| static symbolt | get_lengthof_function () |
| | Get the esbmc_get_object_size symbol.
|
| static std::string | get_method_name (std::string class_name, std::string function_name) |
| | Get the unique method name.
|
| static std::string | get_symbol_name (std::string class_name, std::string function_name, std::string symbol) |
| | Get the symbol name id.
|
| static locationt | get_location (const std::string &module, const std::string function_name="") |
| | initialize a location for the symbol
|
A function call.
foo(42);
◆ from_json()
| void jimple_invoke::from_json |
( |
const json & | | ) |
|
|
overridevirtual |
Initializes the current instance by parsing a JSON.
- Parameters
-
| json | The json object relative to the structure |
Implements jimple_ast.
◆ get_hash_name()
| std::string jimple_invoke::get_hash_name |
( |
| ) |
const |
|
inline |
◆ to_code2t()
| expr2tc jimple_invoke::to_code2t |
( |
contextt & | ctx, |
|
|
const std::string & | class_name, |
|
|
const std::string & | function_name, |
|
|
const locationt & | loc ) const |
|
overridevirtual |
The IREP2 form of this statement, located at loc.
K.2 of docs/roadmap/scope-jimple-irep2.md. The location is a parameter rather than something the caller stamps afterwards: a code_*2t holds it in a non-reflected field, so it has to be set while the node is still a legacy exprt. As in jimple_method_body, the default migrates whatever to_exprt built, so each override that lands removes a migration instead of adding one.
Reimplemented from jimple_method_field.
◆ to_string()
| std::string jimple_invoke::to_string |
( |
| ) |
const |
|
overridevirtual |
Converts the object into a string.
- Returns
- a human readable string of the object
Implements jimple_ast.
◆ base_class
| std::string jimple_invoke::base_class |
◆ method
| std::string jimple_invoke::method |
◆ parameters
| std::vector<std::shared_ptr<jimple_expr> > jimple_invoke::parameters |
◆ variable
| std::string jimple_invoke::variable |
The documentation for this class was generated from the following files: