Module context

Module context 

Source
Expand description

See CompletionContext structure.

Modulesยง

analysis ๐Ÿ”’
Module responsible for analyzing the code surrounding the cursor for completion.

Structsยง

AttrCtx ๐Ÿ”’
CompletionContext ๐Ÿ”’
CompletionContext is created early during completion to figure out, where exactly is the cursor, syntax-wise.
DotAccess ๐Ÿ”’
Information about the field or method access we are completing.
DotAccessExprCtx ๐Ÿ”’
LifetimeContext ๐Ÿ”’
The state of the lifetime we are completing.
NameContext ๐Ÿ”’
The state of the name we are completing.
NameRefContext ๐Ÿ”’
The state of the NameRef we are completing.
ParamContext ๐Ÿ”’
PathCompletionCtx ๐Ÿ”’
The state of the path we are currently completing.
PathExprCtx ๐Ÿ”’
PatternContext ๐Ÿ”’
The state of the pattern we are completing.
QualifierCtx ๐Ÿ”’
Existing qualifiers for the thing we are currently completing.

Enumsยง

BreakableKind ๐Ÿ”’
CompleteSemicolon ๐Ÿ”’
CompletionAnalysis ๐Ÿ”’
The identifier we are currently completing.
DotAccessKind ๐Ÿ”’
ItemListKind ๐Ÿ”’
The kind of item list a PathKind::Item belongs to.
LifetimeKind ๐Ÿ”’
The kind of lifetime we are completing.
NameKind ๐Ÿ”’
The kind of the name we are completing.
NameRefKind ๐Ÿ”’
The kind of the NameRef we are completing.
ParamKind ๐Ÿ”’
PathKind ๐Ÿ”’
The kind of path we are completing right now.
PatternRefutability ๐Ÿ”’
Qualified ๐Ÿ”’
TypeAscriptionTarget ๐Ÿ”’
TypeLocation ๐Ÿ”’
Original file ast nodes
Visible ๐Ÿ”’

Constantsยง

COMPLETION_MARKER ๐Ÿ”’
OP_TRAIT_LANG ๐Ÿ”’

Type Aliasesยง

ExistingDerives ๐Ÿ”’