Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
39
lexers/testdata/wgsl.bool.types.expected
vendored
Normal file
39
lexers/testdata/wgsl.bool.types.expected
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
[
|
||||
{"type":"Keyword","value":"alias"},
|
||||
{"type":"TextWhitespace","value":" "},
|
||||
{"type":"Name","value":"boolean"},
|
||||
{"type":"Operator","value":"="},
|
||||
{"type":"NameBuiltin","value":"bool"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"TextWhitespace","value":"\n"},
|
||||
{"type":"Keyword","value":"alias"},
|
||||
{"type":"TextWhitespace","value":" "},
|
||||
{"type":"Name","value":"bvec2"},
|
||||
{"type":"Operator","value":"="},
|
||||
{"type":"NameBuiltin","value":"vec2"},
|
||||
{"type":"Operator","value":"\u003c"},
|
||||
{"type":"NameBuiltin","value":"bool"},
|
||||
{"type":"Operator","value":"\u003e"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"TextWhitespace","value":"\n"},
|
||||
{"type":"Keyword","value":"alias"},
|
||||
{"type":"TextWhitespace","value":" "},
|
||||
{"type":"Name","value":"bvec3"},
|
||||
{"type":"Operator","value":"="},
|
||||
{"type":"NameBuiltin","value":"vec3"},
|
||||
{"type":"Operator","value":"\u003c"},
|
||||
{"type":"NameBuiltin","value":"bool"},
|
||||
{"type":"Operator","value":"\u003e"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"TextWhitespace","value":"\n"},
|
||||
{"type":"Keyword","value":"alias"},
|
||||
{"type":"TextWhitespace","value":" "},
|
||||
{"type":"Name","value":"bvec4"},
|
||||
{"type":"Operator","value":"="},
|
||||
{"type":"NameBuiltin","value":"vec4"},
|
||||
{"type":"Operator","value":"\u003c"},
|
||||
{"type":"NameBuiltin","value":"bool"},
|
||||
{"type":"Operator","value":"\u003e"},
|
||||
{"type":"Punctuation","value":";"},
|
||||
{"type":"TextWhitespace","value":"\n"}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue