GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "block.h"
#include "language.h"
#include "namespace.h"
#include "d-lang.h"
#include "gdbsupport/gdb_obstack.h"
#include "gdbarch.h"
Go to the source code of this file.
Functions | |
static unsigned int | d_find_first_component (const char *name) |
static unsigned int | d_entire_prefix_len (const char *name) |
static struct block_symbol | d_lookup_symbol (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain, int search) |
static struct block_symbol | d_lookup_symbol_in_module (const char *module, const char *name, const struct block *block, const domain_enum domain, int search) |
static struct block_symbol | lookup_module_scope (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain, const char *scope, int scope_len) |
static struct block_symbol | find_symbol_in_baseclass (struct type *parent_type, const char *name, const struct block *block) |
struct block_symbol | d_lookup_nested_symbol (struct type *parent_type, const char *nested_name, const struct block *block) |
static struct block_symbol | d_lookup_symbol_imports (const char *scope, const char *name, const struct block *block, const domain_enum domain) |
static struct block_symbol | d_lookup_symbol_module (const char *scope, const char *name, const struct block *block, const domain_enum domain) |
struct block_symbol | d_lookup_symbol_nonlocal (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain) |
|
static |
Definition at line 56 of file d-namespace.c.
References d_find_first_component(), and name.
Referenced by d_lookup_symbol().
|
static |
Definition at line 39 of file d-namespace.c.
References name.
Referenced by d_entire_prefix_len(), d_lookup_symbol_imports(), and lookup_module_scope().
struct block_symbol d_lookup_nested_symbol | ( | struct type * | parent_type, |
const char * | nested_name, | ||
const struct block * | block ) |
Definition at line 301 of file d-namespace.c.
References check_typedef(), d_lookup_symbol_in_module(), find_symbol_in_baseclass(), lookup_static_symbol(), size, block_symbol::symbol, type_name_or_error(), and VAR_DOMAIN.
Referenced by classify_inner_name(), and d_lookup_symbol().
|
static |
Definition at line 78 of file d-namespace.c.
References block_symbol::block, check_typedef(), d_entire_prefix_len(), d_lookup_nested_symbol(), block::gdbarch(), language_d, language_def(), language_lookup_primitive_type_as_symbol(), lookup_global_symbol(), lookup_language_this(), lookup_symbol_in_static_block(), name, type::name(), block_symbol::symbol, target_gdbarch(), type::target_type(), type, symbol::type(), and VAR_DOMAIN.
Referenced by d_lookup_symbol_in_module(), and lookup_module_scope().
|
static |
Definition at line 361 of file d-namespace.c.
References using_direct::alias, d_find_first_component(), d_lookup_symbol_in_module(), using_direct::declaration, using_direct::excludes, block::get_using(), using_direct::import_dest, using_direct::import_src, lookup_module_scope(), name, using_direct::next, using_direct::searched, and block_symbol::symbol.
Referenced by d_lookup_symbol_module().
|
static |
Definition at line 166 of file d-namespace.c.
References d_lookup_symbol(), and name.
Referenced by d_lookup_nested_symbol(), d_lookup_symbol_imports(), d_lookup_symbol_module(), find_symbol_in_baseclass(), and lookup_module_scope().
|
static |
Definition at line 473 of file d-namespace.c.
References d_lookup_symbol_imports(), d_lookup_symbol_in_module(), name, block::superblock(), and block_symbol::symbol.
Referenced by d_lookup_symbol_nonlocal().
struct block_symbol d_lookup_symbol_nonlocal | ( | const struct language_defn * | langdef, |
const char * | name, | ||
const struct block * | block, | ||
const domain_enum | domain ) |
Definition at line 508 of file d-namespace.c.
References d_lookup_symbol_module(), lookup_module_scope(), name, block::scope(), and block_symbol::symbol.
Referenced by d_language::lookup_symbol_nonlocal().
|
static |
Definition at line 247 of file d-namespace.c.
References check_typedef(), d_lookup_symbol_in_module(), find_symbol_in_baseclass(), lookup_static_symbol(), lookup_symbol_in_static_block(), name, block_symbol::symbol, TYPE_BASECLASS, TYPE_BASECLASS_NAME, TYPE_N_BASECLASSES, and VAR_DOMAIN.
Referenced by d_lookup_nested_symbol(), and find_symbol_in_baseclass().
|
static |
Definition at line 198 of file d-namespace.c.
References d_find_first_component(), d_lookup_symbol(), d_lookup_symbol_in_module(), lookup_module_scope(), name, block::scope(), and block_symbol::symbol.
Referenced by d_lookup_symbol_imports(), d_lookup_symbol_nonlocal(), and lookup_module_scope().