MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-semantic/src/parsers/python.rs:30–36  ·  view source on GitHub ↗

Create a new Python parser.

()

Source from the content-addressed store, hash-verified

28impl PythonParser {
29 /// Create a new Python parser.
30 pub fn new() -> Self {
31 let mut parser = Parser::new();
32 parser
33 .set_language(&tree_sitter_python::LANGUAGE.into())
34 .expect("Failed to load Python grammar");
35 Self { parser }
36 }
37
38 /// Walk the AST and extract entities.
39 fn walk_tree(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected