|
1 | 1 | [ |
| 2 | + {"type":"CommentPreproc","value":"//go:build wasm"}, |
| 3 | + {"type":"TextWhitespace","value":"\n"}, |
2 | 4 | {"type":"KeywordNamespace","value":"package"}, |
3 | | - {"type":"Text","value":" "}, |
| 5 | + {"type":"TextWhitespace","value":" "}, |
4 | 6 | {"type":"NameOther","value":"main"}, |
5 | | - {"type":"Text","value":"\n\n"}, |
| 7 | + {"type":"TextWhitespace","value":"\n\n"}, |
6 | 8 | {"type":"KeywordNamespace","value":"import"}, |
7 | | - {"type":"Text","value":" "}, |
| 9 | + {"type":"TextWhitespace","value":" "}, |
8 | 10 | {"type":"LiteralString","value":"\"fmt\""}, |
9 | | - {"type":"Text","value":"\n\n"}, |
| 11 | + {"type":"TextWhitespace","value":"\n\n"}, |
10 | 12 | {"type":"KeywordDeclaration","value":"func"}, |
11 | | - {"type":"Text","value":" "}, |
| 13 | + {"type":"TextWhitespace","value":" "}, |
12 | 14 | {"type":"NameFunction","value":"main"}, |
13 | 15 | {"type":"Punctuation","value":"()"}, |
14 | | - {"type":"Text","value":" "}, |
| 16 | + {"type":"TextWhitespace","value":" "}, |
15 | 17 | {"type":"Punctuation","value":"{"}, |
16 | | - {"type":"Text","value":"\n "}, |
| 18 | + {"type":"TextWhitespace","value":"\n "}, |
17 | 19 | {"type":"NameOther","value":"fmt"}, |
18 | 20 | {"type":"Punctuation","value":"."}, |
19 | 21 | {"type":"NameFunction","value":"Println"}, |
20 | 22 | {"type":"Punctuation","value":"("}, |
21 | 23 | {"type":"LiteralString","value":"\"Hello World!\""}, |
22 | 24 | {"type":"Punctuation","value":")"}, |
23 | | - {"type":"Text","value":"\n"}, |
| 25 | + {"type":"TextWhitespace","value":"\n"}, |
24 | 26 | {"type":"Punctuation","value":"}"}, |
25 | | - {"type":"Text","value":"\n\n"}, |
| 27 | + {"type":"TextWhitespace","value":"\n\n"}, |
26 | 28 | {"type":"KeywordDeclaration","value":"var"}, |
27 | | - {"type":"Text","value":" "}, |
| 29 | + {"type":"TextWhitespace","value":" "}, |
28 | 30 | {"type":"NameOther","value":"n"}, |
29 | | - {"type":"Text","value":" "}, |
| 31 | + {"type":"TextWhitespace","value":" "}, |
30 | 32 | {"type":"KeywordType","value":"int"}, |
31 | | - {"type":"Text","value":" "}, |
| 33 | + {"type":"TextWhitespace","value":" "}, |
32 | 34 | {"type":"Punctuation","value":"="}, |
33 | | - {"type":"Text","value":" "}, |
| 35 | + {"type":"TextWhitespace","value":" "}, |
34 | 36 | {"type":"LiteralNumberHex","value":"0x21"}, |
35 | | - {"type":"Text","value":" "}, |
| 37 | + {"type":"TextWhitespace","value":" "}, |
36 | 38 | {"type":"Operator","value":"+"}, |
37 | | - {"type":"Text","value":" "}, |
| 39 | + {"type":"TextWhitespace","value":" "}, |
38 | 40 | {"type":"LiteralNumberInteger","value":"1_000"}, |
39 | | - {"type":"Text","value":"\n"}, |
| 41 | + {"type":"TextWhitespace","value":"\n"}, |
40 | 42 | {"type":"KeywordDeclaration","value":"var"}, |
41 | | - {"type":"Text","value":" "}, |
| 43 | + {"type":"TextWhitespace","value":" "}, |
42 | 44 | {"type":"NameOther","value":"n2"}, |
43 | | - {"type":"Text","value":" "}, |
| 45 | + {"type":"TextWhitespace","value":" "}, |
44 | 46 | {"type":"KeywordType","value":"float64"}, |
45 | | - {"type":"Text","value":" "}, |
| 47 | + {"type":"TextWhitespace","value":" "}, |
46 | 48 | {"type":"Punctuation","value":"="}, |
47 | | - {"type":"Text","value":" "}, |
| 49 | + {"type":"TextWhitespace","value":" "}, |
48 | 50 | {"type":"LiteralNumberFloat","value":"1e3"}, |
49 | | - {"type":"Text","value":"\n\n"}, |
| 51 | + {"type":"TextWhitespace","value":"\n\n"}, |
50 | 52 | {"type":"KeywordDeclaration","value":"func"}, |
51 | | - {"type":"Text","value":" "}, |
| 53 | + {"type":"TextWhitespace","value":" "}, |
52 | 54 | {"type":"NameFunction","value":"hello"}, |
53 | 55 | {"type":"Punctuation","value":"("}, |
54 | 56 | {"type":"NameOther","value":"a"}, |
55 | | - {"type":"Text","value":" "}, |
| 57 | + {"type":"TextWhitespace","value":" "}, |
56 | 58 | {"type":"KeywordType","value":"int"}, |
57 | 59 | {"type":"Punctuation","value":")"}, |
58 | | - {"type":"Text","value":" "}, |
| 60 | + {"type":"TextWhitespace","value":" "}, |
59 | 61 | {"type":"Punctuation","value":"{"}, |
60 | | - {"type":"Text","value":"\n\t"}, |
| 62 | + {"type":"TextWhitespace","value":"\n\t"}, |
61 | 63 | {"type":"NameOther","value":"fmt"}, |
62 | 64 | {"type":"Punctuation","value":"."}, |
63 | 65 | {"type":"NameFunction","value":"Println"}, |
|
66 | 68 | {"type":"Punctuation","value":")."}, |
67 | 69 | {"type":"NameFunction","value":"Hello"}, |
68 | 70 | {"type":"Punctuation","value":"()"}, |
69 | | - {"type":"Text","value":"\n\n "}, |
| 71 | + {"type":"TextWhitespace","value":"\n\n "}, |
70 | 72 | {"type":"Keyword","value":"return"}, |
71 | | - {"type":"Text","value":" "}, |
| 73 | + {"type":"TextWhitespace","value":" "}, |
72 | 74 | {"type":"KeywordDeclaration","value":"func"}, |
73 | 75 | {"type":"Punctuation","value":"()"}, |
74 | | - {"type":"Text","value":" "}, |
| 76 | + {"type":"TextWhitespace","value":" "}, |
75 | 77 | {"type":"KeywordType","value":"int"}, |
76 | | - {"type":"Text","value":" "}, |
| 78 | + {"type":"TextWhitespace","value":" "}, |
77 | 79 | {"type":"Punctuation","value":"{"}, |
78 | | - {"type":"Text","value":"\n "}, |
| 80 | + {"type":"TextWhitespace","value":"\n "}, |
79 | 81 | {"type":"Keyword","value":"return"}, |
80 | | - {"type":"Text","value":" "}, |
| 82 | + {"type":"TextWhitespace","value":" "}, |
81 | 83 | {"type":"NameOther","value":"i"}, |
82 | | - {"type":"Text","value":"\n "}, |
| 84 | + {"type":"TextWhitespace","value":"\n "}, |
83 | 85 | {"type":"Punctuation","value":"}"}, |
84 | | - {"type":"Text","value":"\n"}, |
| 86 | + {"type":"TextWhitespace","value":"\n"}, |
85 | 87 | {"type":"Punctuation","value":"}"}, |
86 | | - {"type":"Text","value":" "}, |
| 88 | + {"type":"TextWhitespace","value":" "}, |
87 | 89 | {"type":"CommentSingle","value":"// One last thing"}, |
88 | | - {"type":"Text","value":"\n\n"}, |
| 90 | + {"type":"TextWhitespace","value":"\n\n"}, |
89 | 91 | {"type":"KeywordDeclaration","value":"type"}, |
90 | | - {"type":"Text","value":" "}, |
| 92 | + {"type":"TextWhitespace","value":" "}, |
91 | 93 | {"type":"NameOther","value":"Int"}, |
92 | | - {"type":"Text","value":" "}, |
| 94 | + {"type":"TextWhitespace","value":" "}, |
93 | 95 | {"type":"KeywordDeclaration","value":"interface"}, |
94 | | - {"type":"Text","value":" "}, |
| 96 | + {"type":"TextWhitespace","value":" "}, |
95 | 97 | {"type":"Punctuation","value":"{"}, |
96 | | - {"type":"Text","value":"\n\t"}, |
| 98 | + {"type":"TextWhitespace","value":"\n\t"}, |
97 | 99 | {"type":"Punctuation","value":"~"}, |
98 | 100 | {"type":"KeywordType","value":"int"}, |
99 | | - {"type":"Text","value":" "}, |
| 101 | + {"type":"TextWhitespace","value":" "}, |
100 | 102 | {"type":"Punctuation","value":"|"}, |
101 | | - {"type":"Text","value":" "}, |
| 103 | + {"type":"TextWhitespace","value":" "}, |
102 | 104 | {"type":"Punctuation","value":"~"}, |
103 | 105 | {"type":"KeywordType","value":"int8"}, |
104 | | - {"type":"Text","value":" "}, |
| 106 | + {"type":"TextWhitespace","value":" "}, |
105 | 107 | {"type":"Punctuation","value":"|"}, |
106 | | - {"type":"Text","value":" "}, |
| 108 | + {"type":"TextWhitespace","value":" "}, |
107 | 109 | {"type":"Punctuation","value":"~"}, |
108 | 110 | {"type":"KeywordType","value":"int16"}, |
109 | | - {"type":"Text","value":" "}, |
| 111 | + {"type":"TextWhitespace","value":" "}, |
110 | 112 | {"type":"Punctuation","value":"|"}, |
111 | | - {"type":"Text","value":" "}, |
| 113 | + {"type":"TextWhitespace","value":" "}, |
112 | 114 | {"type":"Punctuation","value":"~"}, |
113 | 115 | {"type":"KeywordType","value":"int32"}, |
114 | | - {"type":"Text","value":" "}, |
| 116 | + {"type":"TextWhitespace","value":" "}, |
115 | 117 | {"type":"Punctuation","value":"|"}, |
116 | | - {"type":"Text","value":" "}, |
| 118 | + {"type":"TextWhitespace","value":" "}, |
117 | 119 | {"type":"Punctuation","value":"~"}, |
118 | 120 | {"type":"KeywordType","value":"int64"}, |
119 | | - {"type":"Text","value":"\n"}, |
| 121 | + {"type":"TextWhitespace","value":"\n"}, |
120 | 122 | {"type":"Punctuation","value":"}"}, |
121 | | - {"type":"Text","value":" "}, |
122 | | - {"type":"CommentSingle","value":"// The very last comment w/o LF"} |
| 123 | + {"type":"TextWhitespace","value":" "}, |
| 124 | + {"type":"CommentSingle","value":"// The very last comment w/o LF"}, |
| 125 | + {"type":"TextWhitespace","value":"\n"} |
123 | 126 | ] |
0 commit comments