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