@felixtensor/tree-sitter-mlir 0.1.2 → 0.1.4
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/grammar.js +938 -361
- package/package.json +4 -3
- package/prebuilds/darwin-arm64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/prebuilds/darwin-x64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/prebuilds/linux-arm64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/prebuilds/linux-x64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/prebuilds/win32-arm64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/prebuilds/win32-x64/@felixtensor+tree-sitter-mlir.node +0 -0
- package/src/grammar.json +679 -123
- package/src/node-types.json +17 -61
- package/src/parser.c +52636 -50473
- package/tree-sitter-mlir.wasm +0 -0
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -3,20 +3,11 @@
|
|
|
3
3
|
"name": "mlir",
|
|
4
4
|
"rules": {
|
|
5
5
|
"toplevel": {
|
|
6
|
-
"type": "
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"type": "REPEAT",
|
|
14
|
-
"content": {
|
|
15
|
-
"type": "SYMBOL",
|
|
16
|
-
"name": "_toplevel"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
6
|
+
"type": "REPEAT",
|
|
7
|
+
"content": {
|
|
8
|
+
"type": "SYMBOL",
|
|
9
|
+
"name": "_toplevel"
|
|
10
|
+
}
|
|
20
11
|
},
|
|
21
12
|
"_toplevel": {
|
|
22
13
|
"type": "CHOICE",
|
|
@@ -50,7 +41,7 @@
|
|
|
50
41
|
"type": "REPEAT",
|
|
51
42
|
"content": {
|
|
52
43
|
"type": "SYMBOL",
|
|
53
|
-
"name": "
|
|
44
|
+
"name": "_external_resource_content"
|
|
54
45
|
}
|
|
55
46
|
},
|
|
56
47
|
{
|
|
@@ -59,6 +50,34 @@
|
|
|
59
50
|
}
|
|
60
51
|
]
|
|
61
52
|
},
|
|
53
|
+
"_external_resource_content": {
|
|
54
|
+
"type": "CHOICE",
|
|
55
|
+
"members": [
|
|
56
|
+
{
|
|
57
|
+
"type": "SYMBOL",
|
|
58
|
+
"name": "string_literal"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "TOKEN",
|
|
62
|
+
"content": {
|
|
63
|
+
"type": "PREC",
|
|
64
|
+
"value": -1,
|
|
65
|
+
"content": {
|
|
66
|
+
"type": "PATTERN",
|
|
67
|
+
"value": "[^#\"\\/]+"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "STRING",
|
|
73
|
+
"value": "#"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "STRING",
|
|
77
|
+
"value": "/"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
62
81
|
"_digit": {
|
|
63
82
|
"type": "PATTERN",
|
|
64
83
|
"value": "[0-9]"
|
|
@@ -378,20 +397,17 @@
|
|
|
378
397
|
"type": "SEQ",
|
|
379
398
|
"members": [
|
|
380
399
|
{
|
|
381
|
-
"type": "
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
]
|
|
394
|
-
}
|
|
400
|
+
"type": "CHOICE",
|
|
401
|
+
"members": [
|
|
402
|
+
{
|
|
403
|
+
"type": "SYMBOL",
|
|
404
|
+
"name": "_dense_keyword"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"type": "SYMBOL",
|
|
408
|
+
"name": "_sparse_keyword"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
395
411
|
},
|
|
396
412
|
{
|
|
397
413
|
"type": "STRING",
|
|
@@ -1563,6 +1579,14 @@
|
|
|
1563
1579
|
"name": "_affine_for_operation"
|
|
1564
1580
|
}
|
|
1565
1581
|
},
|
|
1582
|
+
{
|
|
1583
|
+
"type": "SYMBOL",
|
|
1584
|
+
"name": "_pdl_interp_record_match_operation"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"type": "SYMBOL",
|
|
1588
|
+
"name": "_generic_custom_operation_with_location_attr_dict"
|
|
1589
|
+
},
|
|
1566
1590
|
{
|
|
1567
1591
|
"type": "SYMBOL",
|
|
1568
1592
|
"name": "_generic_custom_operation"
|
|
@@ -1890,6 +1914,57 @@
|
|
|
1890
1914
|
]
|
|
1891
1915
|
}
|
|
1892
1916
|
},
|
|
1917
|
+
"_pdl_interp_record_match_operation": {
|
|
1918
|
+
"type": "PREC_DYNAMIC",
|
|
1919
|
+
"value": -1,
|
|
1920
|
+
"content": {
|
|
1921
|
+
"type": "PREC_RIGHT",
|
|
1922
|
+
"value": 0,
|
|
1923
|
+
"content": {
|
|
1924
|
+
"type": "SEQ",
|
|
1925
|
+
"members": [
|
|
1926
|
+
{
|
|
1927
|
+
"type": "FIELD",
|
|
1928
|
+
"name": "name",
|
|
1929
|
+
"content": {
|
|
1930
|
+
"type": "ALIAS",
|
|
1931
|
+
"content": {
|
|
1932
|
+
"type": "TOKEN",
|
|
1933
|
+
"content": {
|
|
1934
|
+
"type": "PREC",
|
|
1935
|
+
"value": 20,
|
|
1936
|
+
"content": {
|
|
1937
|
+
"type": "STRING",
|
|
1938
|
+
"value": "pdl_interp.record_match"
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
"named": true,
|
|
1943
|
+
"value": "custom_op_name"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"type": "REPEAT",
|
|
1948
|
+
"content": {
|
|
1949
|
+
"type": "SYMBOL",
|
|
1950
|
+
"name": "_custom_body_element"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"type": "SYMBOL",
|
|
1955
|
+
"name": "_custom_body_location_list"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"type": "REPEAT",
|
|
1959
|
+
"content": {
|
|
1960
|
+
"type": "SYMBOL",
|
|
1961
|
+
"name": "_custom_body_element"
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
]
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1893
1968
|
"_generic_custom_operation": {
|
|
1894
1969
|
"type": "PREC_DYNAMIC",
|
|
1895
1970
|
"value": -1,
|
|
@@ -1918,6 +1993,43 @@
|
|
|
1918
1993
|
}
|
|
1919
1994
|
}
|
|
1920
1995
|
},
|
|
1996
|
+
"_generic_custom_operation_with_location_attr_dict": {
|
|
1997
|
+
"type": "PREC_DYNAMIC",
|
|
1998
|
+
"value": -1,
|
|
1999
|
+
"content": {
|
|
2000
|
+
"type": "PREC_RIGHT",
|
|
2001
|
+
"value": 0,
|
|
2002
|
+
"content": {
|
|
2003
|
+
"type": "SEQ",
|
|
2004
|
+
"members": [
|
|
2005
|
+
{
|
|
2006
|
+
"type": "FIELD",
|
|
2007
|
+
"name": "name",
|
|
2008
|
+
"content": {
|
|
2009
|
+
"type": "ALIAS",
|
|
2010
|
+
"content": {
|
|
2011
|
+
"type": "SYMBOL",
|
|
2012
|
+
"name": "_dotted_op_name"
|
|
2013
|
+
},
|
|
2014
|
+
"named": true,
|
|
2015
|
+
"value": "custom_op_name"
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"type": "SYMBOL",
|
|
2020
|
+
"name": "_custom_body_location_attr_dict"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"type": "REPEAT",
|
|
2024
|
+
"content": {
|
|
2025
|
+
"type": "SYMBOL",
|
|
2026
|
+
"name": "_custom_body_element"
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
]
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
1921
2033
|
"custom_op_name": {
|
|
1922
2034
|
"type": "CHOICE",
|
|
1923
2035
|
"members": [
|
|
@@ -2014,6 +2126,19 @@
|
|
|
2014
2126
|
}
|
|
2015
2127
|
},
|
|
2016
2128
|
"_custom_body_element": {
|
|
2129
|
+
"type": "CHOICE",
|
|
2130
|
+
"members": [
|
|
2131
|
+
{
|
|
2132
|
+
"type": "SYMBOL",
|
|
2133
|
+
"name": "_custom_body_element_base"
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"type": "SYMBOL",
|
|
2137
|
+
"name": "_custom_body_successor_marker"
|
|
2138
|
+
}
|
|
2139
|
+
]
|
|
2140
|
+
},
|
|
2141
|
+
"_custom_body_element_base": {
|
|
2017
2142
|
"type": "CHOICE",
|
|
2018
2143
|
"members": [
|
|
2019
2144
|
{
|
|
@@ -2028,6 +2153,10 @@
|
|
|
2028
2153
|
"type": "SYMBOL",
|
|
2029
2154
|
"name": "successor"
|
|
2030
2155
|
},
|
|
2156
|
+
{
|
|
2157
|
+
"type": "SYMBOL",
|
|
2158
|
+
"name": "_custom_body_complex_label"
|
|
2159
|
+
},
|
|
2031
2160
|
{
|
|
2032
2161
|
"type": "PREC",
|
|
2033
2162
|
"value": 2,
|
|
@@ -2040,6 +2169,10 @@
|
|
|
2040
2169
|
"type": "SYMBOL",
|
|
2041
2170
|
"name": "attribute"
|
|
2042
2171
|
},
|
|
2172
|
+
{
|
|
2173
|
+
"type": "SYMBOL",
|
|
2174
|
+
"name": "_custom_body_tuple_group"
|
|
2175
|
+
},
|
|
2043
2176
|
{
|
|
2044
2177
|
"type": "SYMBOL",
|
|
2045
2178
|
"name": "region"
|
|
@@ -2048,6 +2181,18 @@
|
|
|
2048
2181
|
"type": "SYMBOL",
|
|
2049
2182
|
"name": "_custom_body_value_group"
|
|
2050
2183
|
},
|
|
2184
|
+
{
|
|
2185
|
+
"type": "SYMBOL",
|
|
2186
|
+
"name": "_custom_body_ssa_dict"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"type": "SYMBOL",
|
|
2190
|
+
"name": "_custom_body_module_symbol_arg"
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"type": "SYMBOL",
|
|
2194
|
+
"name": "_custom_body_sparse_operand"
|
|
2195
|
+
},
|
|
2051
2196
|
{
|
|
2052
2197
|
"type": "SYMBOL",
|
|
2053
2198
|
"name": "_custom_body_paren"
|
|
@@ -2060,6 +2205,10 @@
|
|
|
2060
2205
|
"type": "SYMBOL",
|
|
2061
2206
|
"name": "_custom_body_angle_group"
|
|
2062
2207
|
},
|
|
2208
|
+
{
|
|
2209
|
+
"type": "SYMBOL",
|
|
2210
|
+
"name": "variadic"
|
|
2211
|
+
},
|
|
2063
2212
|
{
|
|
2064
2213
|
"type": "SYMBOL",
|
|
2065
2214
|
"name": "_literal"
|
|
@@ -2072,6 +2221,10 @@
|
|
|
2072
2221
|
"type": "STRING",
|
|
2073
2222
|
"value": "vector"
|
|
2074
2223
|
},
|
|
2224
|
+
{
|
|
2225
|
+
"type": "STRING",
|
|
2226
|
+
"value": "tensor"
|
|
2227
|
+
},
|
|
2075
2228
|
{
|
|
2076
2229
|
"type": "STRING",
|
|
2077
2230
|
"value": "ceildiv"
|
|
@@ -2088,6 +2241,10 @@
|
|
|
2088
2241
|
"type": "SYMBOL",
|
|
2089
2242
|
"name": "bare_id"
|
|
2090
2243
|
},
|
|
2244
|
+
{
|
|
2245
|
+
"type": "SYMBOL",
|
|
2246
|
+
"name": "_custom_body_arrow"
|
|
2247
|
+
},
|
|
2091
2248
|
{
|
|
2092
2249
|
"type": "STRING",
|
|
2093
2250
|
"value": ","
|
|
@@ -2097,137 +2254,466 @@
|
|
|
2097
2254
|
"value": "="
|
|
2098
2255
|
},
|
|
2099
2256
|
{
|
|
2100
|
-
"type": "STRING",
|
|
2101
|
-
"value": ":"
|
|
2102
|
-
},
|
|
2257
|
+
"type": "STRING",
|
|
2258
|
+
"value": ":"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"type": "STRING",
|
|
2262
|
+
"value": "->"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"type": "STRING",
|
|
2266
|
+
"value": "*"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"type": "STRING",
|
|
2270
|
+
"value": "?"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"type": "SYMBOL",
|
|
2274
|
+
"name": "dimension_separator"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"type": "STRING",
|
|
2278
|
+
"value": "+"
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
"type": "STRING",
|
|
2282
|
+
"value": "-"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"type": "STRING",
|
|
2286
|
+
"value": "/"
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"type": "STRING",
|
|
2290
|
+
"value": "&"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"type": "STRING",
|
|
2294
|
+
"value": "|"
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"type": "STRING",
|
|
2298
|
+
"value": "~"
|
|
2299
|
+
}
|
|
2300
|
+
]
|
|
2301
|
+
},
|
|
2302
|
+
"_custom_body_paren": {
|
|
2303
|
+
"type": "SEQ",
|
|
2304
|
+
"members": [
|
|
2305
|
+
{
|
|
2306
|
+
"type": "STRING",
|
|
2307
|
+
"value": "("
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"type": "REPEAT",
|
|
2311
|
+
"content": {
|
|
2312
|
+
"type": "SYMBOL",
|
|
2313
|
+
"name": "_nested_custom_body_element"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"type": "STRING",
|
|
2318
|
+
"value": ")"
|
|
2319
|
+
}
|
|
2320
|
+
]
|
|
2321
|
+
},
|
|
2322
|
+
"_custom_body_bracket": {
|
|
2323
|
+
"type": "SEQ",
|
|
2324
|
+
"members": [
|
|
2325
|
+
{
|
|
2326
|
+
"type": "STRING",
|
|
2327
|
+
"value": "["
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"type": "REPEAT",
|
|
2331
|
+
"content": {
|
|
2332
|
+
"type": "SYMBOL",
|
|
2333
|
+
"name": "_nested_custom_body_element"
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"type": "STRING",
|
|
2338
|
+
"value": "]"
|
|
2339
|
+
}
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2342
|
+
"_custom_body_value_group": {
|
|
2343
|
+
"type": "SEQ",
|
|
2344
|
+
"members": [
|
|
2345
|
+
{
|
|
2346
|
+
"type": "STRING",
|
|
2347
|
+
"value": "{"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"type": "SYMBOL",
|
|
2351
|
+
"name": "value_use"
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"type": "STRING",
|
|
2355
|
+
"value": ":"
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"type": "SYMBOL",
|
|
2359
|
+
"name": "type"
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"type": "REPEAT",
|
|
2363
|
+
"content": {
|
|
2364
|
+
"type": "SEQ",
|
|
2365
|
+
"members": [
|
|
2366
|
+
{
|
|
2367
|
+
"type": "STRING",
|
|
2368
|
+
"value": ","
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
"type": "SYMBOL",
|
|
2372
|
+
"name": "value_use"
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"type": "STRING",
|
|
2376
|
+
"value": ":"
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
"type": "SYMBOL",
|
|
2380
|
+
"name": "type"
|
|
2381
|
+
}
|
|
2382
|
+
]
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"type": "STRING",
|
|
2387
|
+
"value": "}"
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2390
|
+
},
|
|
2391
|
+
"_custom_body_tuple_group": {
|
|
2392
|
+
"type": "SEQ",
|
|
2393
|
+
"members": [
|
|
2394
|
+
{
|
|
2395
|
+
"type": "STRING",
|
|
2396
|
+
"value": "{"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"type": "SYMBOL",
|
|
2400
|
+
"name": "_custom_body_tuple"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"type": "REPEAT",
|
|
2404
|
+
"content": {
|
|
2405
|
+
"type": "SEQ",
|
|
2406
|
+
"members": [
|
|
2407
|
+
{
|
|
2408
|
+
"type": "STRING",
|
|
2409
|
+
"value": ","
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"type": "SYMBOL",
|
|
2413
|
+
"name": "_custom_body_tuple"
|
|
2414
|
+
}
|
|
2415
|
+
]
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"type": "STRING",
|
|
2420
|
+
"value": "}"
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
},
|
|
2424
|
+
"_custom_body_tuple": {
|
|
2425
|
+
"type": "SEQ",
|
|
2426
|
+
"members": [
|
|
2427
|
+
{
|
|
2428
|
+
"type": "STRING",
|
|
2429
|
+
"value": "("
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"type": "SYMBOL",
|
|
2433
|
+
"name": "_value_use_list"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"type": "STRING",
|
|
2437
|
+
"value": ")"
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2440
|
+
},
|
|
2441
|
+
"_custom_body_location_attr_dict": {
|
|
2442
|
+
"type": "SEQ",
|
|
2443
|
+
"members": [
|
|
2444
|
+
{
|
|
2445
|
+
"type": "SYMBOL",
|
|
2446
|
+
"name": "trailing_location"
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"type": "SYMBOL",
|
|
2450
|
+
"name": "dictionary_attribute"
|
|
2451
|
+
}
|
|
2452
|
+
]
|
|
2453
|
+
},
|
|
2454
|
+
"_custom_body_complex_label": {
|
|
2455
|
+
"type": "PREC",
|
|
2456
|
+
"value": 1,
|
|
2457
|
+
"content": {
|
|
2458
|
+
"type": "SEQ",
|
|
2459
|
+
"members": [
|
|
2460
|
+
{
|
|
2461
|
+
"type": "SYMBOL",
|
|
2462
|
+
"name": "_complex_label_start"
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"type": "SYMBOL",
|
|
2466
|
+
"name": "value_use"
|
|
2467
|
+
}
|
|
2468
|
+
]
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"_custom_body_ssa_dict": {
|
|
2472
|
+
"type": "SEQ",
|
|
2473
|
+
"members": [
|
|
2474
|
+
{
|
|
2475
|
+
"type": "STRING",
|
|
2476
|
+
"value": "{"
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"type": "REPEAT",
|
|
2480
|
+
"content": {
|
|
2481
|
+
"type": "SEQ",
|
|
2482
|
+
"members": [
|
|
2483
|
+
{
|
|
2484
|
+
"type": "SYMBOL",
|
|
2485
|
+
"name": "_custom_body_attr_dict_entry"
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
"type": "STRING",
|
|
2489
|
+
"value": ","
|
|
2490
|
+
}
|
|
2491
|
+
]
|
|
2492
|
+
}
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"type": "SYMBOL",
|
|
2496
|
+
"name": "_custom_body_ssa_dict_entry"
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"type": "REPEAT",
|
|
2500
|
+
"content": {
|
|
2501
|
+
"type": "SEQ",
|
|
2502
|
+
"members": [
|
|
2503
|
+
{
|
|
2504
|
+
"type": "STRING",
|
|
2505
|
+
"value": ","
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"type": "SYMBOL",
|
|
2509
|
+
"name": "_custom_body_mixed_dict_entry"
|
|
2510
|
+
}
|
|
2511
|
+
]
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"type": "STRING",
|
|
2516
|
+
"value": "}"
|
|
2517
|
+
}
|
|
2518
|
+
]
|
|
2519
|
+
},
|
|
2520
|
+
"_custom_body_dict_key": {
|
|
2521
|
+
"type": "SYMBOL",
|
|
2522
|
+
"name": "string_literal"
|
|
2523
|
+
},
|
|
2524
|
+
"_custom_body_attr_dict_entry": {
|
|
2525
|
+
"type": "SEQ",
|
|
2526
|
+
"members": [
|
|
2527
|
+
{
|
|
2528
|
+
"type": "SYMBOL",
|
|
2529
|
+
"name": "_custom_body_dict_key"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"type": "STRING",
|
|
2533
|
+
"value": "="
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"type": "SYMBOL",
|
|
2537
|
+
"name": "attribute_value"
|
|
2538
|
+
}
|
|
2539
|
+
]
|
|
2540
|
+
},
|
|
2541
|
+
"_custom_body_ssa_dict_entry": {
|
|
2542
|
+
"type": "SEQ",
|
|
2543
|
+
"members": [
|
|
2103
2544
|
{
|
|
2104
|
-
"type": "
|
|
2105
|
-
"
|
|
2545
|
+
"type": "SYMBOL",
|
|
2546
|
+
"name": "_custom_body_dict_key"
|
|
2106
2547
|
},
|
|
2107
2548
|
{
|
|
2108
2549
|
"type": "STRING",
|
|
2109
|
-
"value": "
|
|
2550
|
+
"value": "="
|
|
2110
2551
|
},
|
|
2111
2552
|
{
|
|
2112
|
-
"type": "
|
|
2113
|
-
"
|
|
2114
|
-
|
|
2553
|
+
"type": "CHOICE",
|
|
2554
|
+
"members": [
|
|
2555
|
+
{
|
|
2556
|
+
"type": "SYMBOL",
|
|
2557
|
+
"name": "value_use"
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"type": "SYMBOL",
|
|
2561
|
+
"name": "_custom_body_ssa_value_array"
|
|
2562
|
+
}
|
|
2563
|
+
]
|
|
2564
|
+
}
|
|
2565
|
+
]
|
|
2566
|
+
},
|
|
2567
|
+
"_custom_body_mixed_dict_entry": {
|
|
2568
|
+
"type": "SEQ",
|
|
2569
|
+
"members": [
|
|
2115
2570
|
{
|
|
2116
2571
|
"type": "SYMBOL",
|
|
2117
|
-
"name": "
|
|
2572
|
+
"name": "_custom_body_dict_key"
|
|
2118
2573
|
},
|
|
2119
2574
|
{
|
|
2120
2575
|
"type": "STRING",
|
|
2121
|
-
"value": "
|
|
2576
|
+
"value": "="
|
|
2122
2577
|
},
|
|
2123
2578
|
{
|
|
2124
|
-
"type": "
|
|
2125
|
-
"
|
|
2126
|
-
|
|
2579
|
+
"type": "CHOICE",
|
|
2580
|
+
"members": [
|
|
2581
|
+
{
|
|
2582
|
+
"type": "SYMBOL",
|
|
2583
|
+
"name": "attribute_value"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"type": "SYMBOL",
|
|
2587
|
+
"name": "value_use"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"type": "SYMBOL",
|
|
2591
|
+
"name": "_custom_body_ssa_value_array"
|
|
2592
|
+
}
|
|
2593
|
+
]
|
|
2594
|
+
}
|
|
2595
|
+
]
|
|
2596
|
+
},
|
|
2597
|
+
"_custom_body_ssa_value_array": {
|
|
2598
|
+
"type": "SEQ",
|
|
2599
|
+
"members": [
|
|
2127
2600
|
{
|
|
2128
2601
|
"type": "STRING",
|
|
2129
|
-
"value": "
|
|
2602
|
+
"value": "["
|
|
2130
2603
|
},
|
|
2131
2604
|
{
|
|
2132
|
-
"type": "
|
|
2133
|
-
"
|
|
2605
|
+
"type": "SYMBOL",
|
|
2606
|
+
"name": "value_use"
|
|
2134
2607
|
},
|
|
2135
2608
|
{
|
|
2136
|
-
"type": "
|
|
2137
|
-
"
|
|
2609
|
+
"type": "REPEAT",
|
|
2610
|
+
"content": {
|
|
2611
|
+
"type": "SEQ",
|
|
2612
|
+
"members": [
|
|
2613
|
+
{
|
|
2614
|
+
"type": "STRING",
|
|
2615
|
+
"value": ","
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"type": "SYMBOL",
|
|
2619
|
+
"name": "value_use"
|
|
2620
|
+
}
|
|
2621
|
+
]
|
|
2622
|
+
}
|
|
2138
2623
|
},
|
|
2139
2624
|
{
|
|
2140
2625
|
"type": "STRING",
|
|
2141
|
-
"value": "
|
|
2626
|
+
"value": "]"
|
|
2142
2627
|
}
|
|
2143
2628
|
]
|
|
2144
2629
|
},
|
|
2145
|
-
"
|
|
2630
|
+
"_custom_body_successor_marker": {
|
|
2146
2631
|
"type": "SEQ",
|
|
2147
2632
|
"members": [
|
|
2148
2633
|
{
|
|
2149
2634
|
"type": "STRING",
|
|
2150
|
-
"value": "
|
|
2635
|
+
"value": ">"
|
|
2151
2636
|
},
|
|
2152
2637
|
{
|
|
2153
|
-
"type": "
|
|
2638
|
+
"type": "SYMBOL",
|
|
2639
|
+
"name": "successor"
|
|
2640
|
+
}
|
|
2641
|
+
]
|
|
2642
|
+
},
|
|
2643
|
+
"_custom_body_module_symbol_arg": {
|
|
2644
|
+
"type": "SEQ",
|
|
2645
|
+
"members": [
|
|
2646
|
+
{
|
|
2647
|
+
"type": "TOKEN",
|
|
2154
2648
|
"content": {
|
|
2155
|
-
"type": "
|
|
2156
|
-
"
|
|
2649
|
+
"type": "PREC",
|
|
2650
|
+
"value": 20,
|
|
2651
|
+
"content": {
|
|
2652
|
+
"type": "STRING",
|
|
2653
|
+
"value": "module("
|
|
2654
|
+
}
|
|
2157
2655
|
}
|
|
2158
2656
|
},
|
|
2657
|
+
{
|
|
2658
|
+
"type": "SYMBOL",
|
|
2659
|
+
"name": "symbol_ref_id"
|
|
2660
|
+
},
|
|
2159
2661
|
{
|
|
2160
2662
|
"type": "STRING",
|
|
2161
2663
|
"value": ")"
|
|
2162
2664
|
}
|
|
2163
2665
|
]
|
|
2164
2666
|
},
|
|
2165
|
-
"
|
|
2667
|
+
"_custom_body_sparse_operand": {
|
|
2166
2668
|
"type": "SEQ",
|
|
2167
2669
|
"members": [
|
|
2168
2670
|
{
|
|
2169
|
-
"type": "
|
|
2170
|
-
"
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
"type": "REPEAT",
|
|
2174
|
-
"content": {
|
|
2175
|
-
"type": "SYMBOL",
|
|
2176
|
-
"name": "_nested_custom_body_element"
|
|
2177
|
-
}
|
|
2671
|
+
"type": "SYMBOL",
|
|
2672
|
+
"name": "_sparse_keyword"
|
|
2178
2673
|
},
|
|
2179
2674
|
{
|
|
2180
|
-
"type": "
|
|
2181
|
-
"
|
|
2675
|
+
"type": "SYMBOL",
|
|
2676
|
+
"name": "_custom_body_paren"
|
|
2182
2677
|
}
|
|
2183
2678
|
]
|
|
2184
2679
|
},
|
|
2185
|
-
"
|
|
2680
|
+
"_custom_body_location_list": {
|
|
2186
2681
|
"type": "SEQ",
|
|
2187
2682
|
"members": [
|
|
2188
2683
|
{
|
|
2189
|
-
"type": "
|
|
2190
|
-
"
|
|
2684
|
+
"type": "TOKEN",
|
|
2685
|
+
"content": {
|
|
2686
|
+
"type": "STRING",
|
|
2687
|
+
"value": "loc"
|
|
2688
|
+
}
|
|
2191
2689
|
},
|
|
2192
2690
|
{
|
|
2193
|
-
"type": "
|
|
2194
|
-
"
|
|
2691
|
+
"type": "STRING",
|
|
2692
|
+
"value": "("
|
|
2195
2693
|
},
|
|
2196
2694
|
{
|
|
2197
2695
|
"type": "STRING",
|
|
2198
|
-
"value": "
|
|
2696
|
+
"value": "["
|
|
2199
2697
|
},
|
|
2200
2698
|
{
|
|
2201
|
-
"type": "
|
|
2202
|
-
"
|
|
2699
|
+
"type": "CHOICE",
|
|
2700
|
+
"members": [
|
|
2701
|
+
{
|
|
2702
|
+
"type": "SYMBOL",
|
|
2703
|
+
"name": "_value_use_list"
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"type": "BLANK"
|
|
2707
|
+
}
|
|
2708
|
+
]
|
|
2203
2709
|
},
|
|
2204
2710
|
{
|
|
2205
|
-
"type": "
|
|
2206
|
-
"
|
|
2207
|
-
"type": "SEQ",
|
|
2208
|
-
"members": [
|
|
2209
|
-
{
|
|
2210
|
-
"type": "STRING",
|
|
2211
|
-
"value": ","
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"type": "SYMBOL",
|
|
2215
|
-
"name": "value_use"
|
|
2216
|
-
},
|
|
2217
|
-
{
|
|
2218
|
-
"type": "STRING",
|
|
2219
|
-
"value": ":"
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"type": "SYMBOL",
|
|
2223
|
-
"name": "type"
|
|
2224
|
-
}
|
|
2225
|
-
]
|
|
2226
|
-
}
|
|
2711
|
+
"type": "STRING",
|
|
2712
|
+
"value": "]"
|
|
2227
2713
|
},
|
|
2228
2714
|
{
|
|
2229
2715
|
"type": "STRING",
|
|
2230
|
-
"value": "
|
|
2716
|
+
"value": ")"
|
|
2231
2717
|
}
|
|
2232
2718
|
]
|
|
2233
2719
|
},
|
|
@@ -2251,12 +2737,25 @@
|
|
|
2251
2737
|
}
|
|
2252
2738
|
]
|
|
2253
2739
|
},
|
|
2740
|
+
"_custom_body_arrow": {
|
|
2741
|
+
"type": "SEQ",
|
|
2742
|
+
"members": [
|
|
2743
|
+
{
|
|
2744
|
+
"type": "STRING",
|
|
2745
|
+
"value": "<"
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"type": "STRING",
|
|
2749
|
+
"value": "-"
|
|
2750
|
+
}
|
|
2751
|
+
]
|
|
2752
|
+
},
|
|
2254
2753
|
"_nested_custom_body_element": {
|
|
2255
2754
|
"type": "CHOICE",
|
|
2256
2755
|
"members": [
|
|
2257
2756
|
{
|
|
2258
2757
|
"type": "SYMBOL",
|
|
2259
|
-
"name": "
|
|
2758
|
+
"name": "_custom_body_element_base"
|
|
2260
2759
|
},
|
|
2261
2760
|
{
|
|
2262
2761
|
"type": "SYMBOL",
|
|
@@ -2896,12 +3395,12 @@
|
|
|
2896
3395
|
"name": "_literal"
|
|
2897
3396
|
},
|
|
2898
3397
|
{
|
|
2899
|
-
"type": "
|
|
2900
|
-
"
|
|
3398
|
+
"type": "SYMBOL",
|
|
3399
|
+
"name": "_dense_keyword"
|
|
2901
3400
|
},
|
|
2902
3401
|
{
|
|
2903
|
-
"type": "
|
|
2904
|
-
"
|
|
3402
|
+
"type": "SYMBOL",
|
|
3403
|
+
"name": "_sparse_keyword"
|
|
2905
3404
|
},
|
|
2906
3405
|
{
|
|
2907
3406
|
"type": "STRING",
|
|
@@ -3400,15 +3899,8 @@
|
|
|
3400
3899
|
"type": "SEQ",
|
|
3401
3900
|
"members": [
|
|
3402
3901
|
{
|
|
3403
|
-
"type": "
|
|
3404
|
-
"
|
|
3405
|
-
"type": "STRING",
|
|
3406
|
-
"value": "complex"
|
|
3407
|
-
}
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"type": "STRING",
|
|
3411
|
-
"value": "<"
|
|
3902
|
+
"type": "SYMBOL",
|
|
3903
|
+
"name": "_complex_type_start"
|
|
3412
3904
|
},
|
|
3413
3905
|
{
|
|
3414
3906
|
"type": "SYMBOL",
|
|
@@ -4179,8 +4671,12 @@
|
|
|
4179
4671
|
{
|
|
4180
4672
|
"type": "TOKEN",
|
|
4181
4673
|
"content": {
|
|
4182
|
-
"type": "
|
|
4183
|
-
"value":
|
|
4674
|
+
"type": "PREC",
|
|
4675
|
+
"value": 2,
|
|
4676
|
+
"content": {
|
|
4677
|
+
"type": "STRING",
|
|
4678
|
+
"value": "dense_resource"
|
|
4679
|
+
}
|
|
4184
4680
|
}
|
|
4185
4681
|
},
|
|
4186
4682
|
{
|
|
@@ -4734,12 +5230,12 @@
|
|
|
4734
5230
|
"name": "bare_id"
|
|
4735
5231
|
},
|
|
4736
5232
|
{
|
|
4737
|
-
"type": "
|
|
4738
|
-
"
|
|
5233
|
+
"type": "SYMBOL",
|
|
5234
|
+
"name": "_dense_keyword"
|
|
4739
5235
|
},
|
|
4740
5236
|
{
|
|
4741
|
-
"type": "
|
|
4742
|
-
"
|
|
5237
|
+
"type": "SYMBOL",
|
|
5238
|
+
"name": "_sparse_keyword"
|
|
4743
5239
|
}
|
|
4744
5240
|
]
|
|
4745
5241
|
},
|
|
@@ -4761,12 +5257,12 @@
|
|
|
4761
5257
|
"name": "bare_id"
|
|
4762
5258
|
},
|
|
4763
5259
|
{
|
|
4764
|
-
"type": "
|
|
4765
|
-
"
|
|
5260
|
+
"type": "SYMBOL",
|
|
5261
|
+
"name": "_dense_keyword"
|
|
4766
5262
|
},
|
|
4767
5263
|
{
|
|
4768
|
-
"type": "
|
|
4769
|
-
"
|
|
5264
|
+
"type": "SYMBOL",
|
|
5265
|
+
"name": "_sparse_keyword"
|
|
4770
5266
|
},
|
|
4771
5267
|
{
|
|
4772
5268
|
"type": "STRING",
|
|
@@ -5151,12 +5647,56 @@
|
|
|
5151
5647
|
}
|
|
5152
5648
|
]
|
|
5153
5649
|
}
|
|
5650
|
+
},
|
|
5651
|
+
"_dense_keyword": {
|
|
5652
|
+
"type": "TOKEN",
|
|
5653
|
+
"content": {
|
|
5654
|
+
"type": "PREC",
|
|
5655
|
+
"value": 1,
|
|
5656
|
+
"content": {
|
|
5657
|
+
"type": "STRING",
|
|
5658
|
+
"value": "dense"
|
|
5659
|
+
}
|
|
5660
|
+
}
|
|
5661
|
+
},
|
|
5662
|
+
"_sparse_keyword": {
|
|
5663
|
+
"type": "TOKEN",
|
|
5664
|
+
"content": {
|
|
5665
|
+
"type": "PREC",
|
|
5666
|
+
"value": 1,
|
|
5667
|
+
"content": {
|
|
5668
|
+
"type": "STRING",
|
|
5669
|
+
"value": "sparse"
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
},
|
|
5673
|
+
"_complex_label_start": {
|
|
5674
|
+
"type": "TOKEN",
|
|
5675
|
+
"content": {
|
|
5676
|
+
"type": "PREC",
|
|
5677
|
+
"value": 2,
|
|
5678
|
+
"content": {
|
|
5679
|
+
"type": "PATTERN",
|
|
5680
|
+
"value": "complex:"
|
|
5681
|
+
}
|
|
5682
|
+
}
|
|
5683
|
+
},
|
|
5684
|
+
"_complex_type_start": {
|
|
5685
|
+
"type": "TOKEN",
|
|
5686
|
+
"content": {
|
|
5687
|
+
"type": "PREC",
|
|
5688
|
+
"value": 1,
|
|
5689
|
+
"content": {
|
|
5690
|
+
"type": "PATTERN",
|
|
5691
|
+
"value": "complex<"
|
|
5692
|
+
}
|
|
5693
|
+
}
|
|
5154
5694
|
}
|
|
5155
5695
|
},
|
|
5156
5696
|
"extras": [
|
|
5157
5697
|
{
|
|
5158
5698
|
"type": "PATTERN",
|
|
5159
|
-
"value": "\\s"
|
|
5699
|
+
"value": "[\\s\\x00]"
|
|
5160
5700
|
},
|
|
5161
5701
|
{
|
|
5162
5702
|
"type": "SYMBOL",
|
|
@@ -5189,7 +5729,23 @@
|
|
|
5189
5729
|
],
|
|
5190
5730
|
[
|
|
5191
5731
|
"array_literal",
|
|
5192
|
-
"
|
|
5732
|
+
"_custom_body_element_base"
|
|
5733
|
+
],
|
|
5734
|
+
[
|
|
5735
|
+
"_custom_body_element_base",
|
|
5736
|
+
"tensor_type"
|
|
5737
|
+
],
|
|
5738
|
+
[
|
|
5739
|
+
"_custom_body_element_base",
|
|
5740
|
+
"_custom_body_arrow"
|
|
5741
|
+
],
|
|
5742
|
+
[
|
|
5743
|
+
"_generic_custom_operation_with_location_attr_dict",
|
|
5744
|
+
"custom_op_name"
|
|
5745
|
+
],
|
|
5746
|
+
[
|
|
5747
|
+
"_custom_body_dict_key",
|
|
5748
|
+
"attribute_entry"
|
|
5193
5749
|
],
|
|
5194
5750
|
[
|
|
5195
5751
|
"_value_use_list",
|