Skip to main content

Crate only_semantic

Crate only_semantic 

Source

Structs§

CommandAst
DependencyAst
DocumentAst
DocumentSymbol
Flat document symbol entry for editor consumers.
FoldingRange
Foldable source span for editor consumers.
GuardAst
HoverInfo
Hover payload for one source location.
InterpolationAst
NamespaceAst
NamespaceSymbol
ParamAst
SemanticSnapshot
SymbolIndex
TaskAst
TaskSymbol

Enums§

DirectiveAst
DocumentSymbolKind
Kind of document symbol produced for editor consumers.
FoldingRangeKind
Kind of folding range produced for editor consumers.
HoverKind
Kind of hover result produced for editor consumers.

Functions§

compile_document
Compiles source text into a semantic snapshot shared by hosts.
compile_syntax
Compiles a pre-parsed syntax snapshot into a semantic snapshot shared by hosts.
document_symbols
Builds flat document symbols from one semantic snapshot.
folding_ranges
Builds folding ranges from one semantic snapshot.
hover_at
Resolves hover information at one source offset.