MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / match

Method match

aura/pattern_matching.py:305–306  ·  view source on GitHub ↗
(self, node: nodes.ASTNode)

Source from the content-addressed store, hash-verified

303 return self._id
304
305 def match(self, node: nodes.ASTNode) -> bool:
306 return self.ctx.match(node, self._compiled)
307
308 def apply(self, context: nodes.Context):
309 logger.debug(f"Applying AST pattern {self.id} at {context.node.line_no}")

Callers 7

traverseMethod · 0.45
match_ruleFunction · 0.45
find_matchesMethod · 0.45
matchMethod · 0.45
match_stringMethod · 0.45
matchMethod · 0.45
convert_sizeFunction · 0.45

Calls

no outgoing calls

Tested by 2

traverseMethod · 0.36
match_ruleFunction · 0.36