1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![warn(missing_docs)]
4
5pub mod ast;
7pub mod builder;
9pub mod language;
11pub mod lexer;
13#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
15pub mod lsp;
16#[cfg(feature = "mcp")]
18pub mod mcp;
19
20pub mod parser;
22
23pub use crate::{ast::PythonRoot, builder::PythonBuilder, language::PythonLanguage, lexer::PythonLexer, parser::PythonParser};
24
25#[cfg(feature = "oak-highlight")]
27pub use crate::lsp::highlighter::PythonHighlighter;
28pub use lexer::token_type::PythonTokenType;
30pub use parser::PythonElementType;