chroma/lexers/testdata/wgsl.address.space.expected
2025-03-22 20:46:00 +13:00

62 lines
2.3 KiB
Text

[
{"type":"Keyword","value":"alias"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"a"},
{"type":"Operator","value":"="},
{"type":"NameBuiltin","value":"ptr"},
{"type":"Operator","value":"\u003c"},
{"type":"NameBuiltin","value":"function"},
{"type":"Punctuation","value":","},
{"type":"NameBuiltin","value":"i32"},
{"type":"Operator","value":"\u003e"},
{"type":"Punctuation","value":";"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Keyword","value":"alias"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"b"},
{"type":"Operator","value":"="},
{"type":"NameBuiltin","value":"ptr"},
{"type":"Operator","value":"\u003c"},
{"type":"NameBuiltin","value":"private"},
{"type":"Punctuation","value":","},
{"type":"NameBuiltin","value":"i32"},
{"type":"Operator","value":"\u003e"},
{"type":"Punctuation","value":";"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Keyword","value":"alias"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"c"},
{"type":"Operator","value":"="},
{"type":"NameBuiltin","value":"ptr"},
{"type":"Operator","value":"\u003c"},
{"type":"NameBuiltin","value":"workgroup"},
{"type":"Punctuation","value":","},
{"type":"NameBuiltin","value":"i32"},
{"type":"Operator","value":"\u003e"},
{"type":"Punctuation","value":";"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Keyword","value":"alias"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"d"},
{"type":"Operator","value":"="},
{"type":"NameBuiltin","value":"ptr"},
{"type":"Operator","value":"\u003c"},
{"type":"NameBuiltin","value":"uniform"},
{"type":"Punctuation","value":","},
{"type":"NameBuiltin","value":"i32"},
{"type":"Operator","value":"\u003e"},
{"type":"Punctuation","value":";"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Keyword","value":"alias"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"e"},
{"type":"Operator","value":"="},
{"type":"NameBuiltin","value":"ptr"},
{"type":"Operator","value":"\u003c"},
{"type":"NameBuiltin","value":"storage"},
{"type":"Punctuation","value":","},
{"type":"NameBuiltin","value":"i32"},
{"type":"Operator","value":"\u003e"},
{"type":"Punctuation","value":";"},
{"type":"TextWhitespace","value":"\n"}
]