mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
108 lines
2.1 KiB
Plaintext
108 lines
2.1 KiB
Plaintext
TokenStream [
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "1",
|
|
suffix: None,
|
|
span: #0 bytes(144..145),
|
|
},
|
|
Literal {
|
|
kind: Integer,
|
|
symbol: "17",
|
|
suffix: Some("u8"),
|
|
span: #0 bytes(154..158),
|
|
},
|
|
Literal {
|
|
kind: Float,
|
|
symbol: "42.",
|
|
suffix: None,
|
|
span: #0 bytes(167..170),
|
|
},
|
|
Literal {
|
|
kind: Float,
|
|
symbol: "3.14",
|
|
suffix: Some("f32"),
|
|
span: #0 bytes(179..186),
|
|
},
|
|
Literal {
|
|
kind: Byte,
|
|
symbol: "a",
|
|
suffix: None,
|
|
span: #0 bytes(195..199),
|
|
},
|
|
Literal {
|
|
kind: Byte,
|
|
symbol: "\xFF",
|
|
suffix: None,
|
|
span: #0 bytes(208..215),
|
|
},
|
|
Literal {
|
|
kind: Char,
|
|
symbol: "c",
|
|
suffix: None,
|
|
span: #0 bytes(224..227),
|
|
},
|
|
Literal {
|
|
kind: Char,
|
|
symbol: "\x32",
|
|
suffix: None,
|
|
span: #0 bytes(236..242),
|
|
},
|
|
Literal {
|
|
kind: Str,
|
|
symbol: "\\"str\\"",
|
|
suffix: None,
|
|
span: #0 bytes(251..260),
|
|
},
|
|
Literal {
|
|
kind: StrRaw(1),
|
|
symbol: "\"raw\" str",
|
|
suffix: None,
|
|
span: #0 bytes(269..283),
|
|
},
|
|
Literal {
|
|
kind: StrRaw(3),
|
|
symbol: "very ##\"raw\"## str",
|
|
suffix: None,
|
|
span: #0 bytes(292..319),
|
|
},
|
|
Literal {
|
|
kind: ByteStr,
|
|
symbol: "\\"byte\\" str",
|
|
suffix: None,
|
|
span: #0 bytes(328..343),
|
|
},
|
|
Literal {
|
|
kind: ByteStrRaw(1),
|
|
symbol: "\"raw\" \"byte\" str",
|
|
suffix: None,
|
|
span: #0 bytes(352..374),
|
|
},
|
|
Literal {
|
|
kind: CStr,
|
|
symbol: "\\"c\\" str",
|
|
suffix: None,
|
|
span: #0 bytes(383..395),
|
|
},
|
|
Literal {
|
|
kind: CStrRaw(1),
|
|
symbol: "\"raw\" \"c\" str",
|
|
suffix: None,
|
|
span: #0 bytes(404..423),
|
|
},
|
|
]
|
|
1
|
|
17u8
|
|
42.
|
|
3.14f32
|
|
b'a'
|
|
b'\xFF'
|
|
'c'
|
|
'\x32'
|
|
"\"str\""
|
|
r#""raw" str"#
|
|
r###"very ##"raw"## str"###
|
|
b"\"byte\" str"
|
|
br#""raw" "byte" str"#
|
|
c"\"c\" str"
|
|
cr#""raw" "c" str"#
|