#include "gdbtypes.h"
#include "symtab.h"
#include "std-operator.def"
Go to the source code of this file.
|
| DEF_ENUM_FLAGS_TYPE (enum innermost_block_tracker_type, innermost_block_tracker_types) |
|
template<typename T , typename... Arg> |
operation_up | expr::make_operation (Arg... args) |
|
| DEF_ENUM_FLAGS_TYPE (enum parser_flag, parser_flags) |
|
expression_up | parse_expression (const char *, innermost_block_tracker *=nullptr, parser_flags flags=0) |
|
expression_up | parse_expression_with_language (const char *string, enum language lang) |
|
expression_up | parse_expression_for_completion (const char *, std::unique_ptr< expr_completion_base > *completer) |
|
expression_up | parse_exp_1 (const char **, CORE_ADDR pc, const struct block *, parser_flags flags, innermost_block_tracker *=nullptr) |
|
struct value * | evaluate_subexp_do_call (expression *exp, enum noside noside, value *callee, gdb::array_view< value * > argvec, const char *function_name, type *default_return_type) |
|
| DEF_ENUM_FLAGS_TYPE (enum range_flag, range_flags) |
|
◆ OP
◆ expression_up
◆ exp_opcode
◆ innermost_block_tracker_type
Enumerator |
---|
INNERMOST_BLOCK_FOR_SYMBOLS | |
INNERMOST_BLOCK_FOR_REGISTERS | |
Definition at line 33 of file expression.h.
◆ noside
Enumerator |
---|
EVAL_NORMAL | |
EVAL_AVOID_SIDE_EFFECTS | |
Definition at line 55 of file expression.h.
◆ parser_flag
Enumerator |
---|
PARSER_VOID_CONTEXT | |
PARSER_COMMA_TERMINATES | |
PARSER_DEBUG | |
PARSER_LEAVE_BLOCK_ALONE | |
Definition at line 288 of file expression.h.
◆ range_flag
Enumerator |
---|
RANGE_STANDARD | |
RANGE_LOW_BOUND_DEFAULT | |
RANGE_HIGH_BOUND_DEFAULT | |
RANGE_HIGH_BOUND_EXCLUSIVE | |
RANGE_HAS_STRIDE | |
Definition at line 369 of file expression.h.
◆ DEF_ENUM_FLAGS_TYPE() [1/3]
DEF_ENUM_FLAGS_TYPE |
( |
enum | innermost_block_tracker_type, |
|
|
innermost_block_tracker_types | ) |
◆ DEF_ENUM_FLAGS_TYPE() [2/3]
DEF_ENUM_FLAGS_TYPE |
( |
enum | parser_flag, |
|
|
parser_flags | ) |
◆ DEF_ENUM_FLAGS_TYPE() [3/3]
DEF_ENUM_FLAGS_TYPE |
( |
enum | range_flag, |
|
|
range_flags | ) |
◆ evaluate_subexp_do_call()
struct value * evaluate_subexp_do_call |
( |
expression * | exp, |
|
|
enum noside | noside, |
|
|
value * | callee, |
|
|
gdb::array_view< value * > | argvec, |
|
|
const char * | function_name, |
|
|
type * | default_return_type ) |
|
extern |
Definition at line 584 of file eval.c.
References value::address, value::allocate(), builtin_type::builtin_int, call_function_by_hand(), call_internal_function(), value::call_xmethod(), type::code(), error_call_unknown_return_type(), EVAL_AVOID_SIDE_EFFECTS, find_gnu_ifunc_target_type(), expression::gdbarch, type::is_gnu_ifunc(), expression::language_defn, not_lval, value::result_type_of_xmethod(), type::target_type(), value::type(), and value::zero().
Referenced by expr::adl_func_operation::evaluate(), expr::fortran_undetermined::evaluate(), expr::operation::evaluate_funcall(), expr::scope_operation::evaluate_funcall(), expr::var_value_operation::evaluate_funcall(), expr::structop_base_operation::evaluate_funcall(), and expr::structop_member_base::evaluate_funcall().
◆ parse_exp_1()
Definition at line 446 of file parse.c.
References flags, and parse_exp_in_context().
Referenced by ada_read_renaming_var_value(), agent_eval_command_one(), create_breakpoint(), encode_actions_1(), find_condition_and_thread(), maint_agent_printf_command(), parse_cmd_to_aexpr(), parse_to_comma_and_eval(), ada_catchpoint::re_set(), set_breakpoint_condition(), set_breakpoint_location_condition(), update_breakpoint_locations(), update_watchpoint(), validate_actionline(), varobj_create(), varobj_set_value(), and watch_command_1().
◆ parse_expression()
Definition at line 458 of file parse.c.
References flags, and parse_exp_in_context().
Referenced by check_thread_db_callback(), display_command(), do_one_display(), dump_arc_instruction_command(), execute_control_command_1(), gnuv3_get_type_from_type_info(), info_mach_region_command(), init_if_undefined_command(), maintenance_print_type(), mi_cmd_data_evaluate_expression(), output_command(), parse_and_eval(), parse_and_eval_address(), parse_and_eval_long(), parse_and_eval_type(), parse_expression_with_language(), print_object_command(), print_variable_or_computed(), process_print_command_args(), set_command(), whatis_exp(), and x_command().
◆ parse_expression_for_completion()
◆ parse_expression_with_language()