|
GDB (xrefs)
|
#include "rust-exp.h"
Public Member Functions | |
| value * | evaluate (struct type *expect_type, struct expression *exp, enum noside noside) override |
| value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) override |
| enum exp_opcode | opcode () const override |
Public Member Functions inherited from expr::structop_base_operation | |
| const std::string & | get_string () const |
| value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) override |
| virtual bool | complete (struct expression *exp, completion_tracker &tracker) |
Public Member Functions inherited from expr::tuple_holding_operation< operation_up, std::string > | |
| tuple_holding_operation (Arg... args) | |
| DISABLE_COPY_AND_ASSIGN (tuple_holding_operation) | |
| bool | uses_objfile (struct objfile *objfile) const override |
| void | dump (struct ui_file *stream, int depth) const override |
Public Member Functions inherited from expr::operation | |
| virtual | ~operation ()=default |
| virtual value * | evaluate_with_coercion (struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_sizeof (struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_address (struct expression *exp, enum noside noside) |
| virtual bool | constant_p () const |
| void | generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type=nullptr) |
| virtual void | set_outermost () |
Additional Inherited Members | |
Protected Member Functions inherited from expr::structop_base_operation | |
| bool | complete (struct expression *exp, completion_tracker &tracker, const char *prefix) |
| tuple_holding_operation (Arg... args) | |
Protected Member Functions inherited from expr::operation | |
| operation ()=default | |
| DISABLE_COPY_AND_ASSIGN (operation) | |
| value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const char *function_name, const std::vector< operation_up > &args) |
| virtual void | do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type) |
Protected Attributes inherited from expr::tuple_holding_operation< operation_up, std::string > | |
| std::tuple< Arg... > | m_storage |
Definition at line 162 of file rust-exp.h.
|
overridevirtual |
Implements expr::operation.
Definition at line 1438 of file rust-lang.c.
References value::address, type::code(), value::contents(), EVAL_AVOID_SIDE_EFFECTS, field_name(), value::lval(), expr::tuple_holding_operation< operation_up, std::string >::m_storage, type::name(), value::primitive_field(), resolve_dynamic_type(), rust_empty_enum_p(), rust_enum_p(), rust_enum_variant(), rust_last_path_segment(), rust_tuple_struct_type_p(), rust_tuple_type_p(), type, value::type(), value_struct_elt(), and value::zero().
|
overridevirtual |
Reimplemented from expr::operation.
Definition at line 1538 of file rust-lang.c.
References address_of_variable(), call_function_by_hand(), code, type::code(), EVAL_AVOID_SIDE_EFFECTS, type::field(), get_selected_block(), lookup_symbol(), expr::tuple_holding_operation< operation_up, std::string >::m_storage, name, type::name(), not_lval, type::num_fields(), rust_tuple_type_p(), block_symbol::symbol, type::target_type(), field::type(), symbol::type(), value_addr(), value_ind(), VAR_DOMAIN, and value::zero().
|
inlineoverridevirtual |
Implements expr::operation.
Definition at line 178 of file rust-exp.h.