74 lines
2.9 KiB
Text
74 lines
2.9 KiB
Text
[
|
|
{"type":"NameDecorator","value":"@id"},
|
|
{"type":"Punctuation","value":"("},
|
|
{"type":"LiteralNumberInteger","value":"0"},
|
|
{"type":"Punctuation","value":")"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"KeywordDeclaration","value":"override"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"x"},
|
|
{"type":"Punctuation","value":":"},
|
|
{"type":"NameBuiltin","value":"i32"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"NameDecorator","value":"@"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameDecorator","value":"id"},
|
|
{"type":"Punctuation","value":"("},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Punctuation","value":")"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"KeywordDeclaration","value":"override"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"y"},
|
|
{"type":"Punctuation","value":":"},
|
|
{"type":"NameBuiltin","value":"i32"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"2"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"NameDecorator","value":"@"},
|
|
{"type":"CommentSingle","value":"//comment\n"},
|
|
{"type":"NameDecorator","value":"id"},
|
|
{"type":"Punctuation","value":"("},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Punctuation","value":")"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"KeywordDeclaration","value":"override"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"z"},
|
|
{"type":"Punctuation","value":":"},
|
|
{"type":"NameBuiltin","value":"i32"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"3"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"NameDecorator","value":"@must_use"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Keyword","value":"fn"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"foo"},
|
|
{"type":"Punctuation","value":"()"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Punctuation","value":"-\u003e"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameBuiltin","value":"i32"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Keyword","value":"return"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"32"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Punctuation","value":"}"},
|
|
{"type":"TextWhitespace","value":"\n"}
|
|
]
|