diff options
Diffstat (limited to 'crates/syntax/test_data/parser/fragments/expr/ok')
-rw-r--r-- | crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rast | 8 | ||||
-rw-r--r-- | crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rs | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rast b/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rast new file mode 100644 index 000000000..fa78a02a6 --- /dev/null +++ b/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rast | |||
@@ -0,0 +1,8 @@ | |||
1 | BIN_EXPR@0..5 | ||
2 | LITERAL@0..1 | ||
3 | INT_NUMBER@0..1 "1" | ||
4 | WHITESPACE@1..2 " " | ||
5 | PLUS@2..3 "+" | ||
6 | WHITESPACE@3..4 " " | ||
7 | LITERAL@4..5 | ||
8 | INT_NUMBER@4..5 "2" | ||
diff --git a/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rs b/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rs new file mode 100644 index 000000000..e0ef58402 --- /dev/null +++ b/crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rs | |||
@@ -0,0 +1 @@ | |||
1 + 2 | |||