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

Method new

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

Create a new Rust parser.

()

Source from the content-addressed store, hash-verified

34impl RustParser {
35 /// Create a new Rust parser.
36 pub fn new() -> Self {
37 let mut parser = Parser::new();
38 parser
39 .set_language(&tree_sitter_rust::LANGUAGE.into())
40 .expect("Failed to load Rust grammar");
41 Self { parser }
42 }
43
44 /// Walk the AST and extract entities.
45 fn walk_tree(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected