shouldSwapWithType

pure nothrow @safe
bool
shouldSwapWithType
(,
CompletionKind kind
,
size_t current
,
size_t max
)

Parameters

completionType CompletionType

the completion type being requested

kind CompletionKind

the kind of the current item in the completion chain

current size_t

the index of the current item in the symbol chain

max size_t

the number of items in the symbol chain

Return Value

Type: bool

true if the symbol should be swapped with its type field

Meta