Commit d497274
committed
Add field names for assignment statements
Querying is a bit easier if we have field names to distinguish
the sides of an assignment:
Code:
$foo = $bar
Before:
(statement
(variable
(name))
(variable
(name)))
After:
(statement
lhs: (variable
(name))
rhs: (variable
(name)))1 parent 9d20968 commit d497274
6 files changed
Lines changed: 5879 additions & 2441 deletions
File tree
- src
- tree_sitter
- test/corpus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments