Debian Codegraph @

tests/snippets/wgsl/type-generators.txt

raw
1 ---input---
2 // Test predeclared type generators, other than vector, matrix, and texture.
3 alias a=array<f32>;
4 alias b=atomic<i32>;
5 alias c=ptr<function,i32>;
6
7 ---tokens---
8 '// Test predeclared type generators, other than vector, matrix, and texture.\n' Comment.Single
9
10 'alias' Keyword
11 ' ' Text.Whitespace
12 'a' Name
13 '=' Operator
14 'array' Name.Builtin
15 '<' Operator
16 'f32' Name.Builtin
17 '>' Operator
18 ';' Punctuation
19 '\n' Text.Whitespace
20
21 'alias' Keyword
22 ' ' Text.Whitespace
23 'b' Name
24 '=' Operator
25 'atomic' Name.Builtin
26 '<' Operator
27 'i32' Name.Builtin
28 '>' Operator
29 ';' Punctuation
30 '\n' Text.Whitespace
31
32 'alias' Keyword
33 ' ' Text.Whitespace
34 'c' Name
35 '=' Operator
36 'ptr' Name.Builtin
37 '<' Operator
38 'function' Name.Builtin
39 ',' Punctuation
40 'i32' Name.Builtin
41 '>' Operator
42 ';' Punctuation
43 '\n' Text.Whitespace