DSymbol

Autocompletion symbol

Constructors

this
this()
Undocumented in source.
this
this(string name, CompletionKind kind, DSymbol* type)
this(istring name, CompletionKind kind, DSymbol* type)

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

altFile
alias altFile = callTip

Used for storing information for selective renamed imports

Functions

addChild
void addChild(DSymbol* symbol, bool owns)
Undocumented in source. Be warned that the author may not have intended to support it.
addChildren
void addChildren(R symbols, bool owns)
Undocumented in source. Be warned that the author may not have intended to support it.
addChildren
void addChildren(DSymbol*[] symbols, bool owns)
Undocumented in source. Be warned that the author may not have intended to support it.
getFirstPartNamed
inout(DSymbol)* getFirstPartNamed(istring name)
Undocumented in source. Be warned that the author may not have intended to support it.
getParts
void getParts(istring name, OR app, HashSet!size_t visited, bool onlyOne)

Gets all parts and imported parts. Filters based on the part's name if the name argument is not null. Stores results in app.

getPartsByName
inout(DSymbol)*[] getPartsByName(istring name)

Gets all parts whose name matches the given string.

location
size_t location()

DSymbol location

location
void location(size_t location)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
ptrdiff_t opCmp(DSymbol other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(DSymbol other)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
inout(DSymbol)*[] opSlice()
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
updateTypes
void updateTypes(UpdatePairCollection collection)

Updates the type field based on the mappings contained in the given collection.

Variables

argNames
UnrolledList!(istring) argNames;

Names of function arguments

callTip
istring callTip;

Calltip to display if this is a function

doc
DocString doc;

Documentation for the symbol.

kind
CompletionKind kind;

The kind of symbol

name
istring name;

DSymbol's name

protection
IdType protection;

Protection level for this symbol

qualifier
SymbolQualifier qualifier;

DSymbol qualifier

symbolFile
istring symbolFile;

Module containing the symbol.

type
DSymbol* type;

The symbol that represents the type.

Meta