Skip to main content

Crate only_semantic

Crate only_semantic 

Source

Structs§

CommandAst
CommandBlockAst
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
ShellAst
ShellSelection
SymbolIndex
TaskAst
TaskShellRef
TaskSymbol

Enums§

DirectiveAst
DirectiveKind
DocumentSymbolKind
Kind of document symbol produced for editor consumers.
FoldingRangeKind
Kind of folding range produced for editor consumers.
GuardKind
HoverKind
Kind of hover result produced for editor consumers.
ShellKind
ShellOperator
TaskStepAst

Functions§

compile_document
Compiles source text into a semantic snapshot shared by hosts.
compile_document_for_runner
Compiles source after checking its optional language version declaration.
compile_document_with_runner
Compiles source and retains the syntax snapshot created after the version gate.
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.