MCPcopy Create free account
hub / github.com/Doctave/dossier / matches_node

Method matches_node

dossier-py/src/function.rs:51–53  ·  view source on GitHub ↗
(node: tree_sitter::Node)

Source from the content-addressed store, hash-verified

49
50impl ParseSymbol for Function {
51 fn matches_node(node: tree_sitter::Node) -> bool {
52 node.kind() == "function_definition"
53 }
54
55 fn parse_symbol(node: tree_sitter::Node, ctx: &mut ParserContext) -> Result<Symbol> {
56 assert_eq!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected