GDB (xrefs)
|
#include "diagnostics.h"
#include <ctype.h>
Go to the source code of this file.
Macros | |
#define | NUMERAL_WIDTH 256 |
#define | LONGEST_SIGN ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1)) |
#define | YY_DECL static int yylex ( void ) |
#define | YY_NO_INPUT |
#define | COMPLETE_CHAR '\001' |
#define | YY_INPUT(BUF, RESULT, MAX_SIZE) |
Typedefs | |
typedef void(* | dummy_function) () |
Functions | |
static void | canonicalizeNumeral (char *s1, const char *) |
static struct stoken | processString (const char *, int) |
static int | processInt (struct parser_state *, const char *, const char *, const char *) |
static int | processReal (struct parser_state *, const char *) |
static struct stoken | processId (const char *, int) |
static int | processAttribute (const char *) |
static int | find_dot_all (const char *) |
static void | rewind_to_char (int) |
int | yylex (void) |
static void | lexer_init (FILE *inp) |
static int | subseqMatch (const char *subseq, const char *str) |
Variables | ||
static char | numbuf [NUMERAL_WIDTH] | |
static bool | returned_complete = false | |
static int | paren_depth | |
struct { | ||
const char * name | ||
int code | ||
} | attributes [] | |
dummy_function | ada_flex_use [] | |
#define COMPLETE_CHAR '\001' |
Definition at line 89 of file ada-lex.l.
Referenced by processAttribute(), and processId().
#define LONGEST_SIGN ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1)) |
#define YY_INPUT | ( | BUF, | |
RESULT, | |||
MAX_SIZE ) |
|
static |
|
static |
Definition at line 346 of file ada-lex.l.
References BEGIN, INITIAL, paren_depth, returned_complete, and yyrestart.
Referenced by ada_parse().
|
static |
Definition at line 695 of file ada-lex.l.
References attributes, COMPLETE_CHAR, parser_state::parse_completion, pstate, subseqMatch(), temp_parse_space, TICK_COMPLETE, and yylval.
|
static |
Definition at line 530 of file ada-lex.l.
References COMPLETE_CHAR, stoken::length, name, stoken::ptr, and temp_parse_space.
|
static |
Definition at line 379 of file ada-lex.l.
References base0, builtin_type(), builtin_type::builtin_unsigned_long, builtin_type::builtin_unsigned_long_long, fits_in_type(), FLOAT, expr_builder::gdbarch(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_long_bit(), INT, int_storage, expr_builder::language(), language_lookup_primitive_type(), type::length(), parse_type, type_byte_order(), value, gdb_mpz::write(), and yylval.
|
static |
Definition at line 502 of file ada-lex.l.
References FLOAT, parse_float(), parse_type, and yylval.
|
static |
Definition at line 587 of file ada-lex.l.
References stoken::length, stoken::ptr, and temp_parse_space.
|
static |
|
static |
Definition at line 657 of file ada-lex.l.
References subseqMatch().
Referenced by processAttribute(), processAttribute(), and subseqMatch().
dummy_function ada_flex_use[] |
struct { ... } attributes[] |
Referenced by check_xml_btrace_version(), ada_tick_completer::complete(), library_list_start_library(), library_list_start_library(), library_list_start_library(), library_list_start_list(), library_list_start_list(), library_list_start_section(), library_list_start_segment(), memory_map_start_memory(), memory_map_start_property(), osdata_start_column(), osdata_start_osdata(), parse_xml_btrace_block(), parse_xml_btrace_conf_bts(), parse_xml_btrace_conf_pt(), parse_xml_btrace_pt_config_cpu(), processAttribute(), processAttribute(), read_cutu_die_from_dwo(), gdb_xml_parser::start_element(), start_thread(), svr4_library_list_start_list(), syscall_start_syscall(), tdesc_start_enum(), tdesc_start_enum_value(), tdesc_start_feature(), tdesc_start_field(), tdesc_start_flags(), tdesc_start_reg(), tdesc_start_struct(), tdesc_start_target(), tdesc_start_union(), tdesc_start_vector(), traceframe_info_start_memory(), traceframe_info_start_tvar(), varobj_get_attributes(), xinclude_start_include(), and xml_find_attribute().
int code |
Definition at line 670 of file ada-lex.l.
Referenced by ada_is_redundant_range_encoding(), add_symtab_completions(), value::allocate_contents(), alpha_return_value(), amd64_classify(), amd64_windows_return_value(), arch_composite_type(), arm_push_dummy_call(), arm_return_in_memory(), c_print_type_1(), value::call_xmethod(), check_parameter_typelist(), ada_language::collect_symbol_completion_matches(), f_language::collect_symbol_completion_matches(), language_defn::collect_symbol_completion_matches(), collect_symbol_completion_matches_type(), compile_to_object(), constrained_packed_array_type(), cp_type_print_method_args(), darwin_encode_reply(), default_collect_symbol_completion_matches_break_on(), desc_data_target_type(), emit_exiting_event(), expr::fortran_undetermined::evaluate(), expr::rust_structop::evaluate_funcall(), expr_complete_tag::expr_complete_tag(), fake_method::fake_method(), fbsd_report_signal_info(), fbsd_signal_cause(), value::fetch_lazy_memory(), find_gnu_ifunc_target_type(), gdbpy_initialize_breakpoints(), get_value_at(), windows_nat::windows_process_info::handle_exception(), hppa64_convert_code_addr_to_fptr(), i386_reg_struct_return_p(), i386_return_value(), is_fixed_point_type(), lm32_return_value(), lookup_function_type_with_arguments(), lookup_opencl_vector_type(), loongarch_push_dummy_call(), loongarch_return_value(), m32c_decode_sd23(), m32c_decode_srcdest4(), m32c_reg_arg_type(), m32c_return_by_passed_buf(), m68k_reg_struct_return_p(), m68k_return_value(), m68k_svr4_return_value(), mips_eabi_return_value(), type_allocator::new_type(), pending_framepy_create_unwind_info(), f_language::print_type(), pascal_language::print_type(), read_args(), read_tag_ptr_to_member_type(), read_type(), record_btrace_frame_this_id(), value::result_type_of_xmethod(), s390_function_arg_integer(), s390_register_return_value(), S_exception_raise_request(), set_type_code(), should_validate_memtags(), source_section_scripts(), sparc32_struct_return_from_sym(), struct_return_convention(), pascal_language::type_print_base(), typecmp(), typy_repr(), unpack_long(), value_ind(), value_x_binop(), value_x_unop(), nbsd_nat_target::wait(), wrap_binop_intrinsic(), wrap_ternop_intrinsic(), wrap_unop_intrinsic(), xtensa_window_interrupt_insn(), and z80_get_insn_info().
const char* name |
Definition at line 670 of file ada-lex.l.
Referenced by processId().
|
static |
|
static |
Definition at line 112 of file ada-lex.l.
Referenced by lexer_init().
|
static |
Definition at line 86 of file ada-lex.l.
Referenced by lexer_init().