diff options
Diffstat (limited to 'crates/syntax/test_data/lexer/ok')
-rw-r--r-- | crates/syntax/test_data/lexer/ok/0006_chars.txt | 16 | ||||
-rw-r--r-- | crates/syntax/test_data/lexer/ok/0007_lifetimes.txt | 8 | ||||
-rw-r--r-- | crates/syntax/test_data/lexer/ok/0008_byte_strings.txt | 14 |
3 files changed, 19 insertions, 19 deletions
diff --git a/crates/syntax/test_data/lexer/ok/0006_chars.txt b/crates/syntax/test_data/lexer/ok/0006_chars.txt index 950954fbc..756477dc9 100644 --- a/crates/syntax/test_data/lexer/ok/0006_chars.txt +++ b/crates/syntax/test_data/lexer/ok/0006_chars.txt | |||
@@ -1,16 +1,16 @@ | |||
1 | CHAR 3 "\'x\'" | 1 | CHAR 3 "'x'" |
2 | WHITESPACE 1 " " | 2 | WHITESPACE 1 " " |
3 | CHAR 3 "\' \'" | 3 | CHAR 3 "' '" |
4 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
5 | CHAR 3 "\'0\'" | 5 | CHAR 3 "'0'" |
6 | WHITESPACE 1 " " | 6 | WHITESPACE 1 " " |
7 | CHAR 7 "\'hello\'" | 7 | CHAR 7 "'hello'" |
8 | WHITESPACE 1 " " | 8 | WHITESPACE 1 " " |
9 | CHAR 6 "\'\\x7f\'" | 9 | CHAR 6 "'\\x7f'" |
10 | WHITESPACE 1 " " | 10 | WHITESPACE 1 " " |
11 | CHAR 4 "\'\\n\'" | 11 | CHAR 4 "'\\n'" |
12 | WHITESPACE 1 " " | 12 | WHITESPACE 1 " " |
13 | CHAR 4 "\'\\\\\'" | 13 | CHAR 4 "'\\\\'" |
14 | WHITESPACE 1 " " | 14 | WHITESPACE 1 " " |
15 | CHAR 4 "\'\\\'\'" | 15 | CHAR 4 "'\\''" |
16 | WHITESPACE 1 "\n" | 16 | WHITESPACE 1 "\n" |
diff --git a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt b/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt index 4d6625c3a..32ed9ed50 100644 --- a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt +++ b/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt | |||
@@ -1,8 +1,8 @@ | |||
1 | LIFETIME_IDENT 2 "\'a" | 1 | LIFETIME_IDENT 2 "'a" |
2 | WHITESPACE 1 " " | 2 | WHITESPACE 1 " " |
3 | LIFETIME_IDENT 4 "\'foo" | 3 | LIFETIME_IDENT 4 "'foo" |
4 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
5 | LIFETIME_IDENT 12 "\'foo_bar_baz" | 5 | LIFETIME_IDENT 12 "'foo_bar_baz" |
6 | WHITESPACE 1 " " | 6 | WHITESPACE 1 " " |
7 | LIFETIME_IDENT 2 "\'_" | 7 | LIFETIME_IDENT 2 "'_" |
8 | WHITESPACE 1 "\n" | 8 | WHITESPACE 1 "\n" |
diff --git a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt b/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt index e61ad99be..06d6bdd1f 100644 --- a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt +++ b/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt | |||
@@ -1,22 +1,22 @@ | |||
1 | BYTE 3 "b\'\'" | 1 | BYTE 3 "b''" |
2 | WHITESPACE 1 " " | 2 | WHITESPACE 1 " " |
3 | BYTE 4 "b\'x\'" | 3 | BYTE 4 "b'x'" |
4 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
5 | BYTE_STRING 6 "b\"foo\"" | 5 | BYTE_STRING 6 "b\"foo\"" |
6 | WHITESPACE 1 " " | 6 | WHITESPACE 1 " " |
7 | BYTE_STRING 4 "br\"\"" | 7 | BYTE_STRING 4 "br\"\"" |
8 | WHITESPACE 1 "\n" | 8 | WHITESPACE 1 "\n" |
9 | BYTE 6 "b\'\'suf" | 9 | BYTE 6 "b''suf" |
10 | WHITESPACE 1 " " | 10 | WHITESPACE 1 " " |
11 | BYTE_STRING 5 "b\"\"ix" | 11 | BYTE_STRING 5 "b\"\"ix" |
12 | WHITESPACE 1 " " | 12 | WHITESPACE 1 " " |
13 | BYTE_STRING 6 "br\"\"br" | 13 | BYTE_STRING 6 "br\"\"br" |
14 | WHITESPACE 1 "\n" | 14 | WHITESPACE 1 "\n" |
15 | BYTE 5 "b\'\\n\'" | 15 | BYTE 5 "b'\\n'" |
16 | WHITESPACE 1 " " | 16 | WHITESPACE 1 " " |
17 | BYTE 5 "b\'\\\\\'" | 17 | BYTE 5 "b'\\\\'" |
18 | WHITESPACE 1 " " | 18 | WHITESPACE 1 " " |
19 | BYTE 5 "b\'\\\'\'" | 19 | BYTE 5 "b'\\''" |
20 | WHITESPACE 1 " " | 20 | WHITESPACE 1 " " |
21 | BYTE 8 "b\'hello\'" | 21 | BYTE 8 "b'hello'" |
22 | WHITESPACE 1 "\n" | 22 | WHITESPACE 1 "\n" |