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

23 lines
397 B
Plaintext
Raw Normal View History

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