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

Method new

atomic-semantic/src/parsers/swift.rs:45–51  ·  view source on GitHub ↗

Create a new Swift parser.

()

Source from the content-addressed store, hash-verified

43impl SwiftParser {
44 /// Create a new Swift parser.
45 pub fn new() -> Self {
46 let mut parser = Parser::new();
47 parser
48 .set_language(&tree_sitter_swift::LANGUAGE.into())
49 .expect("Failed to load Swift grammar");
50 Self { parser }
51 }
52
53 /// Walk the AST and extract entities.
54 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected