Go to the source code of this file.
|
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) |
|
◆ eval_op_rust_array()
◆ eval_op_rust_complement()
◆ rust_range()
Definition at line 1035 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(), value::type(), types_equal(), value_allocate_space_in_inferior(), value_as_long(), value_assign(), value_at_lazy(), value_struct_elt(), and value::zero().
Referenced by expr::rust_range_operation::evaluate().
◆ rust_subscript()
Definition at line 1159 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(), value::lval(), 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(), type, value::type(), value_addr(), value_allocate_space_in_inferior(), value_as_long(), value_assign(), value_at_lazy(), value_field(), value_from_longest(), value_struct_elt(), value_subscript(), and value::zero().
Referenced by expr::rust_subscript_operation::evaluate(), and expr::rust_subscript_operation::slice().