GDB (xrefs)
Loading...
Searching...
No Matches
Functions
d-namespace.c File Reference
#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)
 

Function Documentation

◆ d_entire_prefix_len()

static unsigned int d_entire_prefix_len ( const char * name)
static

Definition at line 56 of file d-namespace.c.

References d_find_first_component(), and name.

Referenced by d_lookup_symbol().

◆ d_find_first_component()

static unsigned int d_find_first_component ( const char * name)
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().

◆ d_lookup_nested_symbol()

struct block_symbol d_lookup_nested_symbol ( struct type * parent_type,
const char * nested_name,
const struct block * block )

◆ d_lookup_symbol()

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

◆ d_lookup_symbol_imports()

static struct block_symbol d_lookup_symbol_imports ( const char * scope,
const char * name,
const struct block * block,
const domain_enum domain )
static

◆ d_lookup_symbol_in_module()

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

◆ d_lookup_symbol_module()

static struct block_symbol d_lookup_symbol_module ( const char * scope,
const char * name,
const struct block * block,
const domain_enum domain )
static

◆ 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 )

◆ find_symbol_in_baseclass()

static struct block_symbol find_symbol_in_baseclass ( struct type * parent_type,
const char * name,
const struct block * block )
static

◆ lookup_module_scope()

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