MCPcopy Create free account
hub / github.com/CodeBendKit/codeseek / AstLanguageParser

Interface AstLanguageParser

rust-core/src/codegraph/treesitter/parsers.rs:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35impl Error for ParserError {}
36
37pub trait AstLanguageParser: Send {
38 fn parse(&mut self, code: &str, path: &PathBuf) -> Vec<AstSymbolInstanceArc>;
39}
40
41fn internal_error<E: Display>(err: E) -> ParserError {
42 let err_msg = err.to_string();

Callers

nothing calls this directly

Implementers 7

js.rsrust-core/src/codegraph/treesitter/par
rust.rsrust-core/src/codegraph/treesitter/par
java.rsrust-core/src/codegraph/treesitter/par
python.rsrust-core/src/codegraph/treesitter/par
cpp.rsrust-core/src/codegraph/treesitter/par
go.rsrust-core/src/codegraph/treesitter/par
ts.rsrust-core/src/codegraph/treesitter/par

Calls

no outgoing calls

Tested by

no test coverage detected