dotCompletion

Handles dot completion for identifiers and types.

dotCompletion
(
T
)
(
,
const(Token)[] tokenArray
,,
ref ModuleCache moduleCache
)

Parameters

beforeTokens
Type: T

the tokens before the cursor

tokenArray
Type: const(Token)[]

all tokens in the file

cursorPosition
Type: size_t

the cursor position in bytes

Return Value

the autocompletion response

Meta