mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-20 10:31:36 +00:00
[red-knot] Extract red_knot_python_semantic
crate (#11926)
This commit is contained in:
parent
ed948eaefb
commit
2dfbf118d7
23 changed files with 125 additions and 94 deletions
13
crates/red_knot_python_semantic/src/lib.rs
Normal file
13
crates/red_knot_python_semantic/src/lib.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
pub mod ast_node_ref;
|
||||
mod db;
|
||||
pub mod module;
|
||||
pub mod name;
|
||||
mod node_key;
|
||||
pub mod semantic_index;
|
||||
pub mod types;
|
||||
|
||||
type FxIndexSet<V> = indexmap::set::IndexSet<V, BuildHasherDefault<FxHasher>>;
|
||||
|
||||
pub use db::{Db, Jar};
|
||||
use rustc_hash::FxHasher;
|
||||
use std::hash::BuildHasherDefault;
|
Loading…
Add table
Add a link
Reference in a new issue