Implement layered maps and context retrieval
This commit is contained in:
@@ -264,7 +264,7 @@ function extractCallChain(node: SyntaxNode): string | null {
|
||||
node.type === "property_identifier" ||
|
||||
node.type === "type_identifier"
|
||||
) {
|
||||
return node.text;
|
||||
return node.text.replace(/\s+/g, " ").trim();
|
||||
}
|
||||
if (node.type === "call" || node.type === "call_expression") {
|
||||
const func = node.childForFieldName?.("function");
|
||||
|
||||
Reference in New Issue
Block a user