1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![warn(missing_docs)]
4pub mod ast;
8pub mod builder;
10pub mod language;
12pub mod lexer;
14#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
16pub mod lsp;
17#[cfg(feature = "mcp")]
19pub mod mcp;
20
21pub mod parser;
23
24pub use crate::{ast::PythonRoot, builder::PythonBuilder, language::PythonLanguage, lexer::PythonLexer, parser::PythonParser};
25
26#[cfg(feature = "oak-highlight")]
28pub use crate::lsp::highlighter::PythonHighlighter;
29pub use lexer::token_type::PythonTokenType;
31pub use parser::PythonElementType;