GDB (xrefs)
|
#include "expop.h"
Go to the source code of this file.
Classes | |
class | expr::rust_unop_ind_operation |
class | expr::rust_subscript_operation |
class | expr::rust_unop_addr_operation |
class | expr::rust_range_operation |
class | expr::rust_struct_anon |
class | expr::rust_structop |
class | expr::rust_aggregate_operation |
class | expr::rust_parenthesized_operation |
Namespaces | |
namespace | expr |
Typedefs | |
using | expr::rust_unop_compl_operation = unop_operation< UNOP_COMPLEMENT, eval_op_rust_complement > |
using | expr::rust_array_operation = binop_operation< OP_RUST_ARRAY, eval_op_rust_array > |
Functions | |
struct value * | eval_op_rust_complement (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode opcode, struct value *value) |
struct value * | eval_op_rust_array (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode opcode, struct value *ncopies, struct value *elt) |
struct value * | rust_subscript (struct type *expect_type, struct expression *exp, enum noside noside, bool for_addr, struct value *lhs, struct value *rhs) |
struct value * | rust_range (struct type *expect_type, struct expression *exp, enum noside noside, enum range_flag kind, struct value *low, struct value *high) |
struct value * eval_op_rust_array | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | opcode, | ||
struct value * | ncopies, | ||
struct value * | elt | ||
) |
Definition at line 1332 of file rust-lang.c.
References allocate_value(), EVAL_NORMAL, lookup_array_range_type(), value_array(), value_as_long(), and value_type().
struct value * eval_op_rust_complement | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum exp_opcode | opcode, | ||
struct value * | value | ||
) |
Definition at line 1319 of file rust-lang.c.
References code, value_complement(), value_from_longest(), value_logical_not(), and value_type().
struct value * rust_range | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
enum range_flag | kind, | ||
struct value * | low, | ||
struct value * | high | ||
) |
Definition at line 1019 of file rust-lang.c.
References EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, type::index_type(), language_bool_type(), expression::language_defn, type::length(), lval_memory, name, RANGE_HIGH_BOUND_EXCLUSIVE, rust_composite_type(), types_equal(), value_allocate_space_in_inferior(), value_as_long(), value_assign(), value_at_lazy(), value_struct_elt(), value_type(), and value_zero().
Referenced by expr::rust_range_operation::evaluate().
struct value * rust_subscript | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside | noside, | ||
bool | for_addr, | ||
struct value * | lhs, | ||
struct value * | rhs | ||
) |
Definition at line 1143 of file rust-lang.c.
References check_typedef(), type::code(), EVAL_AVOID_SIDE_EFFECTS, type::field(), expression::gdbarch, get_array_bounds(), expression::language_defn, language_lookup_primitive_type(), type::length(), LONGEST_MAX, field::name(), type::name(), new_type(), type::num_fields(), RANGE_HIGH_BOUND_DEFAULT, RANGE_LOW_BOUND_DEFAULT, rust_compute_range(), rust_range_type_p(), rust_slice_type(), rust_slice_type_p(), type::target_type(), field::type(), value_addr(), value_allocate_space_in_inferior(), value_as_long(), value_assign(), value_at_lazy(), value_field(), value_from_longest(), VALUE_LVAL, value_struct_elt(), value_subscript(), value_type(), and value_zero().
Referenced by expr::rust_subscript_operation::evaluate(), and expr::rust_subscript_operation::slice().