DSymbol

Autocompletion symbol

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(istring name)

Copying is disabled.

this
this(string name, CompletionKind kind)
this(istring name, CompletionKind kind)
this
this(string name, CompletionKind kind, DSymbol* type)
this(istring name, CompletionKind kind, DSymbol* type)

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

this(this)
@disable this(this)

Copying is disabled.

Copying this object is disabled.

Members

Aliases

altFile
alias altFile = callTip

Used for storing information for selective renamed imports

Functions

getParts
void getParts(istring name, ref OR app, ref HashSet!size_t visited, bool onlyOne = false)

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

opSlice
inout(DSymbol)*[] opSlice()
updateTypes
void updateTypes(ref 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
istring doc;

Documentation for the symbol.

kind
CompletionKind kind;

The kind of symbol

name
istring name;

DSymbol's name

qualifier
SymbolQualifier qualifier;

DSymbol qualifier

symbolFile
istring symbolFile;

Module containing the symbol.

type
DSymbol* type;

The symbol that represents the type.

Meta