only-semantic 0.3.0

Semantic analysis for the only task language.
Documentation
1
2
3
4
5
6
7
8
9
10
use only_diagnostic::Diagnostic;

use crate::{DocumentAst, SymbolIndex};

#[derive(Debug, Clone)]
pub struct SemanticSnapshot {
    pub document: DocumentAst,
    pub diagnostics: Vec<Diagnostic>,
    pub symbols: SymbolIndex,
}