GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ada_language Class Reference
Inheritance diagram for ada_language:
language_defn

Public Member Functions

 ada_language ()
 
const char * name () const override
 
const char * natural_name () const override
 
const std::vector< const char * > & filename_extensions () const override
 
void print_array_index (struct type *index_type, LONGEST index, struct ui_file *stream, const value_print_options *options) const override
 
struct valueread_var_value (struct symbol *var, const struct block *var_block, frame_info_ptr frame) const override
 
bool symbol_printing_suppressed (struct symbol *symbol) const override
 
void language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override
 
bool iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) const override
 
bool sniff_from_mangled_name (const char *mangled, gdb::unique_xmalloc_ptr< char > *out) const override
 
gdb::unique_xmalloc_ptr< char > demangle_symbol (const char *mangled, int options) const override
 
void print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override
 
const char * word_break_characters (void) const override
 
void collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) const override
 
gdb::unique_xmalloc_ptr< char > watch_location_expression (struct type *type, CORE_ADDR addr) const override
 
void value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) const override
 
void value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override
 
struct block_symbol lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain) const override
 
int parser (struct parser_state *ps) const override
 
void emitchar (int ch, struct type *chtype, struct ui_file *stream, int quoter) const override
 
void printchar (int ch, struct type *chtype, struct ui_file *stream) const override
 
void printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, const struct value_print_options *options) const override
 
void print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) const override
 
bool is_string_type_p (struct type *type) const override
 
const char * struct_too_deep_ellipsis () const override
 
bool c_style_arrays_p () const override
 
bool store_sym_names_in_linkage_form_p () const override
 
const struct lang_varobj_opsvarobj_ops () const override
 
- Public Member Functions inherited from language_defn
 language_defn (enum language lang)
 
virtual const char * name () const =0
 
virtual const char * natural_name () const =0
 
virtual const char * get_digit_separator () const
 
virtual const std::vector< const char * > & filename_extensions () const
 
virtual void print_array_index (struct type *index_type, LONGEST index_value, struct ui_file *stream, const value_print_options *options) const
 
virtual struct valueread_var_value (struct symbol *var, const struct block *var_block, frame_info_ptr frame) const
 
virtual struct language_pass_by_ref_info pass_by_reference_info (struct type *type) const
 
virtual bool symbol_printing_suppressed (struct symbol *symbol) const
 
virtual void language_arch_info (struct gdbarch *, struct language_arch_info *) const =0
 
virtual struct typelookup_transparent_type (const char *name) const
 
virtual bool iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) const
 
symbol_name_matcher_ftypeget_symbol_name_matcher (const lookup_name_info &lookup_name) const
 
virtual std::unique_ptr< compile_instanceget_compile_instance () const
 
virtual std::string compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) const
 
virtual unsigned int search_name_hash (const char *name) const
 
virtual bool sniff_from_mangled_name (const char *mangled, gdb::unique_xmalloc_ptr< char > *demangled) const
 
virtual gdb::unique_xmalloc_ptr< char > demangle_symbol (const char *mangled, int options) const
 
virtual bool can_print_type_offsets () const
 
virtual void print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const =0
 
virtual CORE_ADDR skip_trampoline (frame_info_ptr fi, CORE_ADDR pc) const
 
virtual char * class_name_from_physname (const char *physname) const
 
virtual const char * word_break_characters (void) const
 
virtual void collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) const
 
virtual struct block_symbol lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain) const
 
virtual gdb::unique_xmalloc_ptr< char > watch_location_expression (struct type *type, CORE_ADDR addr) const
 
virtual void value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) const
 
virtual void value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const
 
virtual int parser (struct parser_state *ps) const
 
virtual void emitchar (int ch, struct type *chtype, struct ui_file *stream, int quoter) const
 
virtual void printchar (int ch, struct type *chtype, struct ui_file *stream) const
 
virtual void printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, const struct value_print_options *options) const
 
virtual void print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) const
 
virtual bool is_string_type_p (struct type *type) const
 
virtual const char * struct_too_deep_ellipsis () const
 
virtual const char * name_of_this () const
 
virtual bool c_style_arrays_p () const
 
virtual char string_lower_bound () const
 
virtual bool store_sym_names_in_linkage_form_p () const
 
virtual bool range_checking_on_by_default () const
 
virtual enum case_sensitivity case_sensitivity () const
 
virtual enum array_ordering array_ordering () const
 
virtual enum macro_expansion macro_expansion () const
 
virtual const struct lang_varobj_opsvarobj_ops () const
 

Protected Member Functions

symbol_name_matcher_ftypeget_symbol_name_matcher_inner (const lookup_name_info &lookup_name) const override
 
virtual symbol_name_matcher_ftypeget_symbol_name_matcher_inner (const lookup_name_info &lookup_name) const
 

Additional Inherited Members

- Public Attributes inherited from language_defn
enum language la_language
 
- Static Public Attributes inherited from language_defn
static const struct language_defnlanguages [nr_languages]
 

Detailed Description

Definition at line 13455 of file ada-lang.c.

Constructor & Destructor Documentation

◆ ada_language()

ada_language::ada_language ( )
inline

Definition at line 13458 of file ada-lang.c.

Member Function Documentation

◆ c_style_arrays_p()

bool ada_language::c_style_arrays_p ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13908 of file ada-lang.c.

◆ collect_symbol_completion_matches()

void ada_language::collect_symbol_completion_matches ( completion_tracker tracker,
complete_symbol_mode  mode,
symbol_name_match_type  name_match_type,
const char *  text,
const char *  word,
enum type_code  code 
) const
inlineoverridevirtual

◆ demangle_symbol()

gdb::unique_xmalloc_ptr< char > ada_language::demangle_symbol ( const char *  mangled,
int  options 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13634 of file ada-lang.c.

References ada_decode().

◆ emitchar()

void ada_language::emitchar ( int  ch,
struct type chtype,
struct ui_file stream,
int  quoter 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13861 of file ada-lang.c.

References ada_emit_char().

◆ filename_extensions()

const std::vector< const char * > & ada_language::filename_extensions ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13474 of file ada-lang.c.

◆ get_symbol_name_matcher_inner()

symbol_name_matcher_ftype * ada_language::get_symbol_name_matcher_inner ( const lookup_name_info lookup_name) const
inlineoverrideprotectedvirtual

Reimplemented from language_defn.

Definition at line 13924 of file ada-lang.c.

References ada_get_symbol_name_matcher().

◆ is_string_type_p()

bool ada_language::is_string_type_p ( struct type type) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13896 of file ada-lang.c.

References ada_is_string_type().

◆ iterate_over_symbols()

bool ada_language::iterate_over_symbols ( const struct block block,
const lookup_name_info name,
domain_enum  domain,
gdb::function_view< symbol_found_callback_ftype callback 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13577 of file ada-lang.c.

References ada_lookup_symbol_list_worker(), and name().

◆ language_arch_info()

void ada_language::language_arch_info ( struct gdbarch gdbarch,
struct language_arch_info lai 
) const
inlineoverridevirtual

◆ lookup_symbol_nonlocal()

struct block_symbol ada_language::lookup_symbol_nonlocal ( const char *  name,
const struct block block,
const domain_enum  domain 
) const
inlineoverridevirtual

◆ name()

const char * ada_language::name ( ) const
inlineoverridevirtual

◆ natural_name()

const char * ada_language::natural_name ( ) const
inlineoverridevirtual

Implements language_defn.

Definition at line 13469 of file ada-lang.c.

◆ parser()

int ada_language::parser ( struct parser_state ps) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13853 of file ada-lang.c.

References ada_parse(), and warnings_issued.

◆ print_array_index()

void ada_language::print_array_index ( struct type index_type,
LONGEST  index,
struct ui_file stream,
const value_print_options options 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13483 of file ada-lang.c.

References gdb_printf(), val_atr(), and value_print().

◆ print_type()

void ada_language::print_type ( struct type type,
const char *  varstring,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) const
inlineoverridevirtual

Implements language_defn.

Definition at line 13642 of file ada-lang.c.

References ada_print_type(), and flags.

◆ print_typedef()

void ada_language::print_typedef ( struct type type,
struct symbol new_symbol,
struct ui_file stream 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13888 of file ada-lang.c.

References ada_print_typedef(), and new_symbol().

◆ printchar()

void ada_language::printchar ( int  ch,
struct type chtype,
struct ui_file stream 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13869 of file ada-lang.c.

References ada_printchar().

◆ printstr()

void ada_language::printstr ( struct ui_file stream,
struct type elttype,
const gdb_byte *  string,
unsigned int  length,
const char *  encoding,
int  force_ellipses,
const struct value_print_options options 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13877 of file ada-lang.c.

References ada_printstr().

◆ read_var_value()

struct value * ada_language::read_var_value ( struct symbol var,
const struct block var_block,
frame_info_ptr  frame 
) const
inlineoverridevirtual

◆ sniff_from_mangled_name()

bool ada_language::sniff_from_mangled_name ( const char *  mangled,
gdb::unique_xmalloc_ptr< char > *  out 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13594 of file ada-lang.c.

References ada_decode().

◆ store_sym_names_in_linkage_form_p()

bool ada_language::store_sym_names_in_linkage_form_p ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13913 of file ada-lang.c.

◆ struct_too_deep_ellipsis()

const char * ada_language::struct_too_deep_ellipsis ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13903 of file ada-lang.c.

◆ symbol_printing_suppressed()

bool ada_language::symbol_printing_suppressed ( struct symbol symbol) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13515 of file ada-lang.c.

References symbol::is_artificial().

◆ value_print()

void ada_language::value_print ( struct value val,
struct ui_file stream,
const struct value_print_options options 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13795 of file ada-lang.c.

References ada_value_print().

Referenced by print_array_index().

◆ value_print_inner()

void ada_language::value_print_inner ( struct value val,
struct ui_file stream,
int  recurse,
const struct value_print_options options 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13803 of file ada-lang.c.

References ada_value_print_inner().

◆ varobj_ops()

const struct lang_varobj_ops * ada_language::varobj_ops ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13918 of file ada-lang.c.

References ada_varobj_ops.

◆ watch_location_expression()

gdb::unique_xmalloc_ptr< char > ada_language::watch_location_expression ( struct type type,
CORE_ADDR  addr 
) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13785 of file ada-lang.c.

References check_typedef(), name(), and type_to_string().

◆ word_break_characters()

const char * ada_language::word_break_characters ( void  ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13651 of file ada-lang.c.

References ada_completer_word_break_characters.


The documentation for this class was generated from the following file: