@ast-grep/lang-html 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +24 -0
- package/index.d.ts +10 -0
- package/index.js +9 -0
- package/package.json +46 -0
- package/postinstall.js +4 -0
- package/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/src/grammar.json +501 -0
- package/src/node-types.json +318 -0
- package/src/parser.c +2300 -0
- package/src/scanner.c +362 -0
- package/src/tag.h +385 -0
- package/src/tree_sitter/alloc.h +54 -0
- package/src/tree_sitter/array.h +290 -0
- package/src/tree_sitter/parser.h +266 -0
- package/type.d.ts +284 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 ast-grep
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ast-grep napi language for html
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
In a pnpm project, run:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm install @ast-grep/lang-html
|
|
9
|
+
pnpm install @ast-grep/napi
|
|
10
|
+
# install the tree-sitter-cli if no prebuild is available
|
|
11
|
+
pnpm install @tree-sitter/cli --save-dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
import html from '@ast-grep/lang-html'
|
|
18
|
+
import { registerDynamicLanguage, parse } from '@ast-grep/napi'
|
|
19
|
+
|
|
20
|
+
registerDynamicLanguage({ html })
|
|
21
|
+
|
|
22
|
+
const sg = parse('html', `your code`)
|
|
23
|
+
sg.root().kind()
|
|
24
|
+
```
|
package/index.d.ts
ADDED
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ast-grep/lang-html",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js",
|
|
8
|
+
"index.d.ts",
|
|
9
|
+
"type.d.ts",
|
|
10
|
+
"postinstall.js",
|
|
11
|
+
"src",
|
|
12
|
+
"prebuilds"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"ast-grep",
|
|
16
|
+
"ast-grep-lang"
|
|
17
|
+
],
|
|
18
|
+
"author": "",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@ast-grep/setup-lang": "0.0.3"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"tree-sitter-cli": "0.24.6"
|
|
25
|
+
},
|
|
26
|
+
"peerDependenciesMeta": {
|
|
27
|
+
"tree-sitter-cli": {
|
|
28
|
+
"optional": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@ast-grep/nursery": "0.0.2",
|
|
33
|
+
"tree-sitter-cli": "0.24.6",
|
|
34
|
+
"tree-sitter-html": "0.23.2"
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"registry": "https://registry.npmjs.org/"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tree-sitter build -o parser.so",
|
|
42
|
+
"source": "node nursery.js source",
|
|
43
|
+
"postinstall": "node postinstall.js",
|
|
44
|
+
"test": "node nursery.js test"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/postinstall.js
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/grammar.json
ADDED
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
|
|
3
|
+
"name": "html",
|
|
4
|
+
"rules": {
|
|
5
|
+
"document": {
|
|
6
|
+
"type": "REPEAT",
|
|
7
|
+
"content": {
|
|
8
|
+
"type": "SYMBOL",
|
|
9
|
+
"name": "_node"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"doctype": {
|
|
13
|
+
"type": "SEQ",
|
|
14
|
+
"members": [
|
|
15
|
+
{
|
|
16
|
+
"type": "STRING",
|
|
17
|
+
"value": "<!"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "ALIAS",
|
|
21
|
+
"content": {
|
|
22
|
+
"type": "SYMBOL",
|
|
23
|
+
"name": "_doctype"
|
|
24
|
+
},
|
|
25
|
+
"named": false,
|
|
26
|
+
"value": "doctype"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "PATTERN",
|
|
30
|
+
"value": "[^>]+"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "STRING",
|
|
34
|
+
"value": ">"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"_doctype": {
|
|
39
|
+
"type": "PATTERN",
|
|
40
|
+
"value": "[Dd][Oo][Cc][Tt][Yy][Pp][Ee]"
|
|
41
|
+
},
|
|
42
|
+
"_node": {
|
|
43
|
+
"type": "CHOICE",
|
|
44
|
+
"members": [
|
|
45
|
+
{
|
|
46
|
+
"type": "SYMBOL",
|
|
47
|
+
"name": "doctype"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "SYMBOL",
|
|
51
|
+
"name": "entity"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "SYMBOL",
|
|
55
|
+
"name": "text"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "SYMBOL",
|
|
59
|
+
"name": "element"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "SYMBOL",
|
|
63
|
+
"name": "script_element"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "SYMBOL",
|
|
67
|
+
"name": "style_element"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "SYMBOL",
|
|
71
|
+
"name": "erroneous_end_tag"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"element": {
|
|
76
|
+
"type": "CHOICE",
|
|
77
|
+
"members": [
|
|
78
|
+
{
|
|
79
|
+
"type": "SEQ",
|
|
80
|
+
"members": [
|
|
81
|
+
{
|
|
82
|
+
"type": "SYMBOL",
|
|
83
|
+
"name": "start_tag"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "REPEAT",
|
|
87
|
+
"content": {
|
|
88
|
+
"type": "SYMBOL",
|
|
89
|
+
"name": "_node"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "CHOICE",
|
|
94
|
+
"members": [
|
|
95
|
+
{
|
|
96
|
+
"type": "SYMBOL",
|
|
97
|
+
"name": "end_tag"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "SYMBOL",
|
|
101
|
+
"name": "_implicit_end_tag"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "SYMBOL",
|
|
109
|
+
"name": "self_closing_tag"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"script_element": {
|
|
114
|
+
"type": "SEQ",
|
|
115
|
+
"members": [
|
|
116
|
+
{
|
|
117
|
+
"type": "ALIAS",
|
|
118
|
+
"content": {
|
|
119
|
+
"type": "SYMBOL",
|
|
120
|
+
"name": "script_start_tag"
|
|
121
|
+
},
|
|
122
|
+
"named": true,
|
|
123
|
+
"value": "start_tag"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "CHOICE",
|
|
127
|
+
"members": [
|
|
128
|
+
{
|
|
129
|
+
"type": "SYMBOL",
|
|
130
|
+
"name": "raw_text"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "BLANK"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "SYMBOL",
|
|
139
|
+
"name": "end_tag"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"style_element": {
|
|
144
|
+
"type": "SEQ",
|
|
145
|
+
"members": [
|
|
146
|
+
{
|
|
147
|
+
"type": "ALIAS",
|
|
148
|
+
"content": {
|
|
149
|
+
"type": "SYMBOL",
|
|
150
|
+
"name": "style_start_tag"
|
|
151
|
+
},
|
|
152
|
+
"named": true,
|
|
153
|
+
"value": "start_tag"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "CHOICE",
|
|
157
|
+
"members": [
|
|
158
|
+
{
|
|
159
|
+
"type": "SYMBOL",
|
|
160
|
+
"name": "raw_text"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "BLANK"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "SYMBOL",
|
|
169
|
+
"name": "end_tag"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"start_tag": {
|
|
174
|
+
"type": "SEQ",
|
|
175
|
+
"members": [
|
|
176
|
+
{
|
|
177
|
+
"type": "STRING",
|
|
178
|
+
"value": "<"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "ALIAS",
|
|
182
|
+
"content": {
|
|
183
|
+
"type": "SYMBOL",
|
|
184
|
+
"name": "_start_tag_name"
|
|
185
|
+
},
|
|
186
|
+
"named": true,
|
|
187
|
+
"value": "tag_name"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "REPEAT",
|
|
191
|
+
"content": {
|
|
192
|
+
"type": "SYMBOL",
|
|
193
|
+
"name": "attribute"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "STRING",
|
|
198
|
+
"value": ">"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"script_start_tag": {
|
|
203
|
+
"type": "SEQ",
|
|
204
|
+
"members": [
|
|
205
|
+
{
|
|
206
|
+
"type": "STRING",
|
|
207
|
+
"value": "<"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "ALIAS",
|
|
211
|
+
"content": {
|
|
212
|
+
"type": "SYMBOL",
|
|
213
|
+
"name": "_script_start_tag_name"
|
|
214
|
+
},
|
|
215
|
+
"named": true,
|
|
216
|
+
"value": "tag_name"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "REPEAT",
|
|
220
|
+
"content": {
|
|
221
|
+
"type": "SYMBOL",
|
|
222
|
+
"name": "attribute"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "STRING",
|
|
227
|
+
"value": ">"
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"style_start_tag": {
|
|
232
|
+
"type": "SEQ",
|
|
233
|
+
"members": [
|
|
234
|
+
{
|
|
235
|
+
"type": "STRING",
|
|
236
|
+
"value": "<"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "ALIAS",
|
|
240
|
+
"content": {
|
|
241
|
+
"type": "SYMBOL",
|
|
242
|
+
"name": "_style_start_tag_name"
|
|
243
|
+
},
|
|
244
|
+
"named": true,
|
|
245
|
+
"value": "tag_name"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "REPEAT",
|
|
249
|
+
"content": {
|
|
250
|
+
"type": "SYMBOL",
|
|
251
|
+
"name": "attribute"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"type": "STRING",
|
|
256
|
+
"value": ">"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"self_closing_tag": {
|
|
261
|
+
"type": "SEQ",
|
|
262
|
+
"members": [
|
|
263
|
+
{
|
|
264
|
+
"type": "STRING",
|
|
265
|
+
"value": "<"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "ALIAS",
|
|
269
|
+
"content": {
|
|
270
|
+
"type": "SYMBOL",
|
|
271
|
+
"name": "_start_tag_name"
|
|
272
|
+
},
|
|
273
|
+
"named": true,
|
|
274
|
+
"value": "tag_name"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "REPEAT",
|
|
278
|
+
"content": {
|
|
279
|
+
"type": "SYMBOL",
|
|
280
|
+
"name": "attribute"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "STRING",
|
|
285
|
+
"value": "/>"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
"end_tag": {
|
|
290
|
+
"type": "SEQ",
|
|
291
|
+
"members": [
|
|
292
|
+
{
|
|
293
|
+
"type": "STRING",
|
|
294
|
+
"value": "</"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "ALIAS",
|
|
298
|
+
"content": {
|
|
299
|
+
"type": "SYMBOL",
|
|
300
|
+
"name": "_end_tag_name"
|
|
301
|
+
},
|
|
302
|
+
"named": true,
|
|
303
|
+
"value": "tag_name"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"type": "STRING",
|
|
307
|
+
"value": ">"
|
|
308
|
+
}
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"erroneous_end_tag": {
|
|
312
|
+
"type": "SEQ",
|
|
313
|
+
"members": [
|
|
314
|
+
{
|
|
315
|
+
"type": "STRING",
|
|
316
|
+
"value": "</"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "SYMBOL",
|
|
320
|
+
"name": "erroneous_end_tag_name"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "STRING",
|
|
324
|
+
"value": ">"
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"attribute": {
|
|
329
|
+
"type": "SEQ",
|
|
330
|
+
"members": [
|
|
331
|
+
{
|
|
332
|
+
"type": "SYMBOL",
|
|
333
|
+
"name": "attribute_name"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "CHOICE",
|
|
337
|
+
"members": [
|
|
338
|
+
{
|
|
339
|
+
"type": "SEQ",
|
|
340
|
+
"members": [
|
|
341
|
+
{
|
|
342
|
+
"type": "STRING",
|
|
343
|
+
"value": "="
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "CHOICE",
|
|
347
|
+
"members": [
|
|
348
|
+
{
|
|
349
|
+
"type": "SYMBOL",
|
|
350
|
+
"name": "attribute_value"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"type": "SYMBOL",
|
|
354
|
+
"name": "quoted_attribute_value"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"type": "BLANK"
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"attribute_name": {
|
|
368
|
+
"type": "PATTERN",
|
|
369
|
+
"value": "[^<>\"'/=\\s]+"
|
|
370
|
+
},
|
|
371
|
+
"attribute_value": {
|
|
372
|
+
"type": "PATTERN",
|
|
373
|
+
"value": "[^<>\"'=\\s]+"
|
|
374
|
+
},
|
|
375
|
+
"entity": {
|
|
376
|
+
"type": "PATTERN",
|
|
377
|
+
"value": "&(#([xX][0-9a-fA-F]{1,6}|[0-9]{1,5})|[A-Za-z]{1,30});?"
|
|
378
|
+
},
|
|
379
|
+
"quoted_attribute_value": {
|
|
380
|
+
"type": "CHOICE",
|
|
381
|
+
"members": [
|
|
382
|
+
{
|
|
383
|
+
"type": "SEQ",
|
|
384
|
+
"members": [
|
|
385
|
+
{
|
|
386
|
+
"type": "STRING",
|
|
387
|
+
"value": "'"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"type": "CHOICE",
|
|
391
|
+
"members": [
|
|
392
|
+
{
|
|
393
|
+
"type": "ALIAS",
|
|
394
|
+
"content": {
|
|
395
|
+
"type": "PATTERN",
|
|
396
|
+
"value": "[^']+"
|
|
397
|
+
},
|
|
398
|
+
"named": true,
|
|
399
|
+
"value": "attribute_value"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"type": "BLANK"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"type": "STRING",
|
|
408
|
+
"value": "'"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"type": "SEQ",
|
|
414
|
+
"members": [
|
|
415
|
+
{
|
|
416
|
+
"type": "STRING",
|
|
417
|
+
"value": "\""
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"type": "CHOICE",
|
|
421
|
+
"members": [
|
|
422
|
+
{
|
|
423
|
+
"type": "ALIAS",
|
|
424
|
+
"content": {
|
|
425
|
+
"type": "PATTERN",
|
|
426
|
+
"value": "[^\"]+"
|
|
427
|
+
},
|
|
428
|
+
"named": true,
|
|
429
|
+
"value": "attribute_value"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "BLANK"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "STRING",
|
|
438
|
+
"value": "\""
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"text": {
|
|
445
|
+
"type": "PATTERN",
|
|
446
|
+
"value": "[^<>&\\s]([^<>&]*[^<>&\\s])?"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"extras": [
|
|
450
|
+
{
|
|
451
|
+
"type": "SYMBOL",
|
|
452
|
+
"name": "comment"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "PATTERN",
|
|
456
|
+
"value": "\\s+"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"conflicts": [],
|
|
460
|
+
"precedences": [],
|
|
461
|
+
"externals": [
|
|
462
|
+
{
|
|
463
|
+
"type": "SYMBOL",
|
|
464
|
+
"name": "_start_tag_name"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"type": "SYMBOL",
|
|
468
|
+
"name": "_script_start_tag_name"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"type": "SYMBOL",
|
|
472
|
+
"name": "_style_start_tag_name"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"type": "SYMBOL",
|
|
476
|
+
"name": "_end_tag_name"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"type": "SYMBOL",
|
|
480
|
+
"name": "erroneous_end_tag_name"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"type": "STRING",
|
|
484
|
+
"value": "/>"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"type": "SYMBOL",
|
|
488
|
+
"name": "_implicit_end_tag"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"type": "SYMBOL",
|
|
492
|
+
"name": "raw_text"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"type": "SYMBOL",
|
|
496
|
+
"name": "comment"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"inline": [],
|
|
500
|
+
"supertypes": []
|
|
501
|
+
}
|