File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export function analyzeCode(code) {
34
34
. query (
35
35
"[" +
36
36
"(function_definition (identifier) @name)" +
37
- "(module (expression_statement (assignment (identifier) @var)))" +
37
+ // "(module (expression_statement (assignment (identifier) @var)))" +
38
38
"]"
39
39
) ;
40
40
query . matches ( tree . rootNode ) . forEach ( ( match ) => {
@@ -71,7 +71,7 @@ export function rewriteCode(code, symbolTable) {
71
71
. query (
72
72
"[" +
73
73
"(function_definition (identifier) @name)" +
74
- "(module (expression_statement (assignment (identifier) @var)))" +
74
+ // "(module (expression_statement (assignment (identifier) @var)))" +
75
75
"(call (identifier) @name)" +
76
76
"(module (expression_statement (identifier) @id))" +
77
77
"]"
You can’t perform that action at this time.
0 commit comments