diff options
author | Aleksey Kladov <[email protected]> | 2018-01-01 19:13:04 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-01 19:13:04 +0000 |
commit | 46422f722bdcadbf4462dd5a9c65756434b2d97a (patch) | |
tree | 6b07f7e0ff1a6113630d8f3d66d38291589be03a /tests | |
parent | cb362626f326a565aca34c1a11c95dcb7152b798 (diff) |
Parser: first scraches
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/parser/0001_struct_item.rs | 3 | ||||
-rw-r--r-- | tests/data/parser/0001_struct_item.txt | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/parser/0001_struct_item.rs b/tests/data/parser/0001_struct_item.rs new file mode 100644 index 000000000..d3a8c1d23 --- /dev/null +++ b/tests/data/parser/0001_struct_item.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | struct S { | ||
2 | |||
3 | } \ No newline at end of file | ||
diff --git a/tests/data/parser/0001_struct_item.txt b/tests/data/parser/0001_struct_item.txt new file mode 100644 index 000000000..5ef544282 --- /dev/null +++ b/tests/data/parser/0001_struct_item.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | FILE@[0; 13) | ||
2 | STRUCT_ITEM@[0; 7) | ||
3 | STRUCT_KW@[0; 6) | ||
4 | WHITESPACE@[6; 7) | ||
5 | ERROR@[7; 9) | ||
6 | IDENT@[7; 8) | ||
7 | WHITESPACE@[8; 9) | ||
8 | ERROR@[9; 12) | ||
9 | L_CURLY@[9; 10) | ||
10 | WHITESPACE@[10; 12) | ||
11 | ERROR@[12; 13) | ||
12 | R_CURLY@[12; 13) | ||