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

Method new

atomic-semantic/src/parsers/java.rs:31–37  ·  view source on GitHub ↗

Create a new Java parser.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected