|
6 | 6 | // ^^ storage.modifier
|
7 | 7 | // ^^^^^^^^^ keyword.declaration
|
8 | 8 | // ^ entity.name.namespace
|
| 9 | +// @ definition |
9 | 10 | // ^ punctuation.terminator.statement - punctuation.terminator.statement.empty
|
10 | 11 |
|
11 | 12 | export const x: any;
|
12 | 13 | // ^^^^^^^^^^^^^^^^^^^^ meta.export
|
13 | 14 | // ^^^^^^ keyword.control.import-export
|
14 | 15 | // ^^^^^ keyword.declaration
|
15 | 16 | // ^ meta.binding.name variable.other.readwrite
|
| 17 | +// @ global-definition |
16 | 18 | // ^ punctuation.separator.type
|
17 | 19 | // ^^^ meta.type support.type.any
|
18 | 20 | // ^ punctuation.terminator.statement - punctuation.terminator.statement.empty
|
|
22 | 24 | // ^^^^^^ keyword.control.import-export
|
23 | 25 | // ^^^ keyword.declaration
|
24 | 26 | // ^ meta.binding.name variable.other.readwrite
|
| 27 | +// @ global-definition |
25 | 28 | // ^ punctuation.separator.type
|
26 | 29 | // ^^^ meta.type support.type.any
|
27 | 30 | // ^ punctuation.terminator.statement - punctuation.terminator.statement.empty
|
|
31 | 34 | // ^^^^^^ keyword.control.import-export
|
32 | 35 | // ^^^ keyword.declaration
|
33 | 36 | // ^ meta.binding.name variable.other.readwrite
|
| 37 | +// @ global-definition |
34 | 38 | // ^ punctuation.separator.type
|
35 | 39 | // ^^^ meta.type support.type.any
|
36 | 40 | // ^ punctuation.terminator.statement - punctuation.terminator.statement.empty
|
|
41 | 45 | // ^^^^^^^^^^^^^^^^^^^^^^^ meta.function
|
42 | 46 | // ^^^^^^^^ keyword.declaration.function
|
43 | 47 | // ^ entity.name.function
|
| 48 | +// @ definition |
44 | 49 | // ^^^^^^^^ meta.function.parameters
|
45 | 50 | // ^ punctuation.section.group.begin
|
46 | 51 | // ^ meta.binding.name variable.parameter.function
|
|
57 | 62 | // ^^^^^^^^^ meta.class
|
58 | 63 | // ^^^^^ keyword.declaration.class
|
59 | 64 | // ^ entity.name.class
|
| 65 | +// @ definition |
60 | 66 | // ^ meta.block punctuation.section.block.begin
|
61 |
| - |
| 67 | + |
62 | 68 | x: any;
|
63 | 69 | // ^ variable.other.readwrite
|
64 | 70 | // ^ punctuation.separator.type
|
|
69 | 75 | f(x: any): any;
|
70 | 76 | // ^^^^^^^^^^^^^^ meta.function
|
71 | 77 | // ^ entity.name.function
|
| 78 | +// @ definition |
72 | 79 | // ^^^^^^^^ meta.function.parameters
|
73 | 80 | // ^ punctuation.section.group.begin
|
74 | 81 | // ^ meta.binding.name
|
|
90 | 97 | // ^^^^^^^^^^^^^^ meta.interface
|
91 | 98 | // ^^^^^^^^^ keyword.declaration
|
92 | 99 | // ^ entity.name.interface
|
| 100 | +// @ definition |
93 | 101 | // ^^ meta.block
|
94 | 102 | // ^ punctuation.section.block.begin
|
95 | 103 | // ^ punctuation.section.block.end
|
|
101 | 109 | // ^^^^^^^^^^^^^ meta.namespace
|
102 | 110 | // ^^^^^^^^^ keyword.declaration
|
103 | 111 | // ^ entity.name.namespace
|
| 112 | +// @ definition |
104 | 113 | // ^ meta.block punctuation.section.block.begin
|
105 | 114 |
|
106 | 115 | const x: any;
|
107 | 116 | // ^^^^^ keyword.declaration
|
108 | 117 | // ^ meta.binding.name
|
109 | 118 | // ^ variable.other.readwrite
|
| 119 | +// @ global-definition |
110 | 120 | // ^ punctuation.separator.type
|
111 | 121 | // ^^^^ meta.type
|
112 | 122 | // ^^^ support.type.any
|
|
147 | 157 | // ^^^^^^^^^^^^^^^^^^^^^^^ meta.function
|
148 | 158 | // ^^^^^^^^ keyword.declaration.function
|
149 | 159 | // ^ entity.name.function
|
| 160 | +// @ definition |
150 | 161 | // ^^^^^^^^ meta.function.parameters
|
151 | 162 | // ^ punctuation.section.group.begin
|
152 | 163 | // ^ meta.binding.name variable.parameter.function
|
|
164 | 175 | // ^^^^^^^^^^ meta.class
|
165 | 176 | // ^^^^^ keyword.declaration.class
|
166 | 177 | // ^ entity.name.class
|
| 178 | +// @ definition |
167 | 179 | // ^^ meta.block
|
168 | 180 | // ^ punctuation.section.block.begin
|
169 | 181 | // ^ punctuation.section.block.end
|
|
173 | 185 | // ^^^^^^^^^^^^^^ meta.namespace
|
174 | 186 | // ^^^^^^^^^ keyword.declaration
|
175 | 187 | // ^ entity.name.namespace
|
| 188 | +// @ definition |
176 | 189 | // ^^ meta.block
|
177 | 190 | // ^ punctuation.section.block.begin
|
178 | 191 | // ^ punctuation.section.block.end
|
|
182 | 195 | // ^^^^^^^^^^^^^^^^ meta.module
|
183 | 196 | // ^^^^^^ keyword.declaration.module
|
184 | 197 | // ^^^^^^ entity.name.module.js
|
| 198 | +// @@@@@@ definition |
185 | 199 | // ^^ meta.block
|
186 | 200 |
|
187 | 201 | declare module 'module' {}
|
188 | 202 | // ^^^^^^^ storage.modifier
|
189 | 203 | // ^^^^^^^^^^^^^^^^^^ meta.module
|
190 | 204 | // ^^^^^^ keyword.declaration.module
|
191 | 205 | // ^^^^^^^^ entity.name.module.js
|
| 206 | +// @@@@@@@@ definition "module" |
192 | 207 | // ^ punctuation.definition.quoted.begin.js
|
193 | 208 | // ^ punctuation.definition.quoted.end.js
|
194 | 209 | // ^^ meta.block
|
|
198 | 213 | // ^^^^^^^^^^^^^^^^^^ meta.module
|
199 | 214 | // ^^^^^^ keyword.declaration.module
|
200 | 215 | // ^^^^^^^^ entity.name.module.js
|
| 216 | +// @@@@@@@@ definition "module" |
201 | 217 | // ^ punctuation.definition.quoted.begin.js
|
202 | 218 | // ^ punctuation.definition.quoted.end.js
|
203 | 219 | // ^^ meta.block
|
0 commit comments