Commit d88aca8
[ruby/prism] Add
They can take a block and so the keyword location is not always the entirety of the node.
You can get it by constructing a location that is just the first 5 characters
but why not have it be provided by prism?
ruby/prism@878d79eb8ckeyword_loc to ForwardingSuperNode
1 parent 05f856f commit d88aca8
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2627 | 2627 | | |
2628 | 2628 | | |
2629 | 2629 | | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
2630 | 2638 | | |
2631 | 2639 | | |
2632 | 2640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4379 | 4379 | | |
4380 | 4380 | | |
4381 | 4381 | | |
| 4382 | + | |
4382 | 4383 | | |
4383 | 4384 | | |
4384 | 4385 | | |
| |||
0 commit comments