MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / node_String

Method node_String

custom_analyzer.py:12–21  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

10
11 # Hook to a specific type of a node
12 def node_String(self, context):
13 yield Detection(
14 detection_type = "CustomAnalyzer",
15 signature = f"str#{context.visitor.normalized_path}#{context.node.line_no}",
16 message = "String detection",
17 extra = {
18 "string_content": str(context.node)
19 },
20 tags = {"custom_tag",}
21 )

Callers

nothing calls this directly

Calls 1

DetectionClass · 0.90

Tested by

no test coverage detected