cairo_lang_semantic/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Semantic model representation and queries for Cairo.
//! The semantic model represents the Cairo program after type resolution and some syntax
//! desugaring.

pub mod corelib;
pub mod db;
pub mod diagnostic;
pub mod expr;
pub mod inline_macros;
pub mod items;
pub mod literals;
pub mod lookup_item;
pub mod lsp_helpers;
pub mod plugin;
pub mod resolve;
pub mod substitution;
pub mod types;
pub mod usage;

mod semantic;

pub use diagnostic::SemanticDiagnostic;
pub use substitution::SemanticObject;

pub use self::semantic::*;

#[cfg(any(feature = "testing", test))]
pub mod test_utils;

#[cfg(test)]
mod test;