@@ -10,7 +10,7 @@ import {identifier, otherIdentifier} from "somewhere";
10
10
// ^ meta.import meta.block variable.other.readwrite
11
11
12
12
import thing , { identifier as otherIdentifier } , * as otherName from "otherplace" ;
13
- // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.import
13
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.import
14
14
// ^ keyword.control.import-export
15
15
// ^ variable.other.readwrite
16
16
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.block
@@ -20,8 +20,8 @@ import thing, {identifier as otherIdentifier}, * as otherName from "otherplace";
20
20
// ^ constant.other.js
21
21
// ^ keyword.control.import-export
22
22
23
- import 'module'
24
- // ^^^^^^^^^^^^ meta.import
23
+ import 'module' ;
24
+ // ^^^^^^^^^^^^^ meta.import
25
25
26
26
export { name1 , name2 as name3 } ;
27
27
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
@@ -31,18 +31,18 @@ export { name1, name2 as name3 };
31
31
// ^^ keyword.control.import-export
32
32
33
33
export let name1 , name2 ;
34
- //^^^^^^^^^^^^^^^^^^^^^ meta.export
34
+ //^^^^^^^^^^^^^^^^^^^^^^ meta.export
35
35
//^ keyword.control.import-export
36
36
// ^^^ storage.type
37
37
// ^ punctuation.separator.comma
38
38
39
39
export var name3 ;
40
- //^^^^^^^^^^^^^^ meta.export
40
+ //^^^^^^^^^^^^^^^ meta.export
41
41
//^ keyword.control.import-export
42
42
// ^^^ storage.type
43
43
44
44
export const name1 = 5 ;
45
- //^^^^^^^^^^^^^^^^^^^^ meta.export
45
+ //^^^^^^^^^^^^^^^^^^^^^ meta.export
46
46
//^ keyword.control.import-export
47
47
// ^^^^^ storage.type
48
48
// ^ keyword.operator.assignment
@@ -51,62 +51,48 @@ export let foo = 123 // No semicolon
51
51
export function bar ( ) { }
52
52
// <- keyword.control.import-export
53
53
54
- export function foo ( ) { }
54
+ export function foo ( ) { } ;
55
55
//^^^^^^^^^^^^^^^^^^^^^^ meta.export
56
56
//^^^^ keyword.control.import-export
57
57
// ^^^^^^^^^^^^^^ meta.function.declaration
58
+ // ^ punctuation.terminator.statement.empty
58
59
59
- [ ] ;
60
- // <- meta.sequence
61
-
62
- export function * foo ( ) { }
63
- //^^^^^^^^^^^^^^^^^^^^^^ meta.export
60
+ export function * foo ( ) { } ;
61
+ //^^^^^^^^^^^^^^^^^^^^^^^ meta.export
64
62
//^^^^ keyword.control.import-export
65
63
// ^^^^^^^^^^^^^^^ meta.function.declaration
64
+ // ^ punctuation.terminator.statement.empty
66
65
67
- [ ] ;
68
- // <- meta.sequence
69
-
70
- export async function foo ( ) { }
71
- //^^^^^^^^^^^^^^^^^^^^^^ meta.export
66
+ export async function foo ( ) { } ;
67
+ //^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
72
68
//^^^^ keyword.control.import-export
73
69
// ^^^^^^^^^^^^^^^^^^^^ meta.function.declaration
70
+ // ^ punctuation.terminator.statement.empty
74
71
75
- [ ] ;
76
- // <- meta.sequence
77
-
78
- export class Foo { }
72
+ export class Foo { } ;
79
73
//^^^^^^^^^^^^^^^^^ meta.export
80
74
//^^^^ keyword.control.import-export
81
75
// ^^^^^^^^^^^^ meta.class
82
-
83
- [ ] ;
84
- // <- meta.sequence
76
+ // ^ punctuation.terminator.statement.empty
85
77
86
78
export default expression ;
87
- //^^^^^^^^^^^^^^^^^^^^^^^ meta.export
79
+ //^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
88
80
//^ keyword.control.import-export
89
81
// ^ keyword.control.import-export
90
82
91
- export default function ( a ) { }
83
+ export default function ( a ) { } ;
92
84
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
93
85
//^^^^ keyword.control.import-export
94
86
// ^^^^^^^ keyword.control.import-export
95
87
// ^^^^^^^^^^^^ meta.function.declaration.js
96
- // ^ - meta.export
97
-
98
- [ ] ;
99
- // <- meta.sequence
88
+ // ^ punctuation.terminator.statement.empty - meta.export
100
89
101
- export default function * ( a ) { }
90
+ export default function * ( a ) { } ;
102
91
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
103
92
//^^^^ keyword.control.import-export
104
93
// ^^^^^^^ keyword.control.import-export
105
94
// ^^^^^^^^^^^^^ meta.function.declaration.js
106
- // ^ - meta.export
107
-
108
- [ ] ;
109
- // <- meta.sequence
95
+ // ^ punctuation.terminator.statement.empty - meta.export
110
96
111
97
export default function name1 ( b ) { }
112
98
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
@@ -115,46 +101,40 @@ export default function name1(b) { }
115
101
// ^ storage.type
116
102
// ^ entity.name.function
117
103
118
- export default class Foo { }
104
+ export default class Foo { } ;
119
105
//^^^^^^^^^^^^^^^^^ meta.export
120
106
//^^^^ keyword.control.import-export
121
107
// ^^^^^^^ keyword.control.import-export
122
108
// ^^^^^^^^^^^^ meta.class
109
+ // ^ punctuation.terminator.statement.empty
123
110
124
- [ ] ;
125
- // <- meta.sequence
126
-
127
- export default + function ( a ) { }
128
- //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
111
+ export default + function ( a ) { } ;
112
+ //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
129
113
//^^^^ keyword.control.import-export
130
114
// ^^^^^^^ keyword.control.import-export
131
115
// ^^^^^^^^^^^^ meta.function.declaration.js
132
116
133
- [ ] ;
134
- // <- meta.export
135
- // <- meta.brackets
136
-
137
117
export { name1 as default } ;
138
- //^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
118
+ //^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
139
119
//^ keyword.control.import-export
140
120
// ^^^^^^^^^^^^^^^^^^^^ meta.block
141
121
// ^ keyword.control.import-export
142
122
// ^ keyword.control.import-export
143
123
144
124
export * from "./othermod" ;
145
- //^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
125
+ //^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
146
126
//^ keyword.control.import-export
147
127
// ^ constant.other
148
128
// ^ keyword.control.import-export
149
129
150
130
export { name1 , name2 } from "./othermod" ;
151
- //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
131
+ //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
152
132
//^ keyword.control.import-export
153
133
// ^^^^^^^^^^^^^^^^ meta.block
154
134
// ^ keyword.control.import-export
155
135
156
136
export { import1 as name1 , import2 as name2 , nameN } from "./othermod" ;
157
- //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
137
+ //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export
158
138
//^ keyword.control.import-export
159
139
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.block
160
140
// ^ keyword.control.import-export
@@ -163,23 +143,23 @@ export { import1 as name1, import2 as name2, nameN } from "./othermod";
163
143
164
144
import * as
165
145
alias from "module" ;
166
- // ^^^^^^^^^^^^^^^^^^^^ meta.import.js
146
+ // ^^^^^^^^^^^^^^^^^^^^^ meta.import.js
167
147
168
148
import { member as
169
149
alias } from "module" ;
170
- // ^^^^^^^^^^^^^^^^^^^^^^ meta.import.js
150
+ // ^^^^^^^^^^^^^^^^^^^^^^^ meta.import.js
171
151
172
152
import { * as
173
153
alias } from "module" ;
174
- // ^^^^^^^^^^^^^^^^^^^^^^ meta.import.js
154
+ // ^^^^^^^^^^^^^^^^^^^^^^^ meta.import.js
175
155
176
156
export { member as
177
157
alias } from "module" ;
178
- // ^^^^^^^^^^^^^^^^^^^^^^ meta.export.js
158
+ // ^^^^^^^^^^^^^^^^^^^^^^^ meta.export.js
179
159
180
160
export { member as
181
161
default } from "module" ;
182
- // ^^^^^^^^^^^^^^^^^^^^^^^^ meta.export.js
162
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^ meta.export.js
183
163
184
164
let from ;
185
165
// ^^^^ variable.other.readwrite.js
0 commit comments