Scope.getSymbolsByNameAndCursor

struct Scope
getSymbolsByNameAndCursor
(
istring name
,
)

Parameters

name
Type: istring

the symbol name to search for

cursorPosition
Type: size_t

the cursor position in bytes

Return Value

Type: DSymbol*[]

all symbols with the given name in the scope containing the cursor and its parent scopes

Meta