rust/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt

23 lines
397 B
Plaintext
Raw Normal View History

2021-06-17 18:09:44 +02:00
BYTE 3 "b''"
2017-12-31 14:02:55 +03:00
WHITESPACE 1 " "
2021-06-17 18:09:44 +02:00
BYTE 4 "b'x'"
2017-12-31 14:02:55 +03:00
WHITESPACE 1 " "
BYTE_STRING 6 "b\"foo\""
WHITESPACE 1 " "
BYTE_STRING 4 "br\"\""
2017-12-31 14:10:18 +03:00
WHITESPACE 1 "\n"
2021-06-17 18:09:44 +02:00
BYTE 6 "b''suf"
2017-12-31 14:10:18 +03:00
WHITESPACE 1 " "
BYTE_STRING 5 "b\"\"ix"
WHITESPACE 1 " "
BYTE_STRING 6 "br\"\"br"
2017-12-31 14:10:18 +03:00
WHITESPACE 1 "\n"
2021-06-17 18:09:44 +02:00
BYTE 5 "b'\\n'"
2018-08-23 20:04:13 +03:00
WHITESPACE 1 " "
2021-06-17 18:09:44 +02:00
BYTE 5 "b'\\\\'"
2018-08-23 20:04:13 +03:00
WHITESPACE 1 " "
2021-06-17 18:09:44 +02:00
BYTE 5 "b'\\''"
2018-08-23 20:04:13 +03:00
WHITESPACE 1 " "
2021-06-17 18:09:44 +02:00
BYTE 8 "b'hello'"
2018-08-23 20:04:13 +03:00
WHITESPACE 1 "\n"