Skip to main content

only_semantic/
lib.rs

1mod analysis;
2mod ast;
3mod document_symbols;
4mod folding;
5mod hover;
6mod interpolation;
7mod lower;
8mod names;
9mod semantic_snapshot;
10mod symbols;
11mod validate;
12
13pub use analysis::{
14    compile_document, compile_document_for_runner, compile_document_with_runner, compile_syntax,
15};
16pub use ast::{
17    CommandAst, CommandBlockAst, DependencyArgumentAst, DependencyAst, DirectiveAst, DocumentAst,
18    GuardAst, InterpolationAst, NamespaceAst, ParamAst, ShellAst, TaskAst, TaskMetadataAst,
19    TaskStepAst,
20};
21pub use document_symbols::{DocumentSymbol, DocumentSymbolKind, document_symbols};
22pub use folding::{FoldingRange, FoldingRangeKind, folding_ranges};
23pub use hover::{HoverInfo, HoverKind, hover_at};
24pub use interpolation::interpolation_name_ranges;
25pub use only_syntax::{
26    DirectiveKind, GuardKind, MetadataKind, ShellKind, ShellOperator, ShellSelection, TaskShellRef,
27};
28pub use semantic_snapshot::SemanticSnapshot;
29pub use symbols::{NamespaceSymbol, SymbolIndex, TaskSymbol};