aboutsummaryrefslogtreecommitdiff
path: root/spec/test/tree_lexer.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-08-06 18:34:40 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-08-06 18:34:40 +0900
commit90331573a642f1e7e6f3758f1eab8628793bb8f4 (patch)
tree9af1eb108a2d9eed794fff0e6e28eff5762051e6 /spec/test/tree_lexer.go
parentProhibit error node having children (diff)
downloadurubu-90331573a642f1e7e6f3758f1eab8628793bb8f4.tar.gz
urubu-90331573a642f1e7e6f3758f1eab8628793bb8f4.tar.xz
Remove underscore syntax matching any symbol
Underscore syntax: For instance, a tree `(expr (id 'a') (add '+') (_))` matches both source codes `a + b * c` and `a - b / c`. This feature is helpful because it allows you to emphasize the main points of the test by ignoring nodes of no interest. However, we will remove the feature for the time being to reconsider the grammar.
Diffstat (limited to 'spec/test/tree_lexer.go')
0 files changed, 0 insertions, 0 deletions