Commit 0eeddc3
Go: skip extracting ast.ParenExpr nodes
Instead of creating a database entry for parenthesised expressions,
extract their child expression directly in their place. This makes the
extracted AST act as if ParenExpr nodes do not exist while still
correctly extracting children.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d5712ef commit 0eeddc3
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1016 | 1022 | | |
1017 | 1023 | | |
1018 | 1024 | | |
| |||
1087 | 1093 | | |
1088 | 1094 | | |
1089 | 1095 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | 1096 | | |
1094 | 1097 | | |
1095 | 1098 | | |
| |||
0 commit comments