codeprism_lang_python/
lib.rs

1//! Python language support for codeprism
2
3mod adapter;
4mod analysis;
5mod ast_mapper;
6mod error;
7mod parser;
8mod types;
9
10pub use adapter::{parse_file, ParseResultConverter, PythonLanguageParser};
11pub use analysis::PythonAnalyzer;
12pub use error::{Error, Result};
13pub use parser::{ParseContext, ParseResult, PythonParser};
14pub use types::{Edge, EdgeKind, Language, Node, NodeId, NodeKind, Span};
15
16// Re-export the parser for registration
17pub fn create_parser() -> PythonLanguageParser {
18    PythonLanguageParser::new()
19}