@sentry/server-utils 11.22.0 → 11.23.0
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/build/THIRD-PARTY-LICENSES.txt +10 -10
- package/build/cjs/chunks/config.js +2 -2
- package/build/cjs/chunks/config.js.map +1 -1
- package/build/cjs/chunks/core.js +0 -1
- package/build/cjs/chunks/exports.js +72 -27
- package/build/cjs/chunks/exports.js.map +1 -1
- package/build/cjs/chunks/module-details-from-path.js +427 -428
- package/build/cjs/chunks/module-details-from-path.js.map +1 -1
- package/build/cjs/chunks/moduleInjectedTransform.js +419 -421
- package/build/cjs/chunks/moduleInjectedTransform.js.map +1 -1
- package/build/cjs/chunks/rolldown-runtime.js +8 -6
- package/build/cjs/index.js +42 -25
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.request-handler.js +2 -2
- package/build/cjs/orchestrion/bundler/bun.js +1 -1
- package/build/cjs/orchestrion/bundler/esbuild.js +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +1 -1
- package/build/cjs/orchestrion/bundler/vite.js +2 -2
- package/build/cjs/orchestrion/bundler/webpack-loader.js +2 -2
- package/build/cjs/orchestrion/bundler/webpack.js +4 -4
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/defineProperty.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/assertClassBrand.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/checkPrivateRedeclaration.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/classPrivateFieldGet2.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/classPrivateFieldInitSpec.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/classPrivateFieldSet2.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/classPrivateMethodInitSpec.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/defineProperty.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/toPrimitive.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/toPropertyKey.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/typeof.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/toPrimitive.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/toPropertyKey.js +1 -1
- package/build/esm/_virtual/{_@oxc-project_runtime@0.158.0 → _@oxc-project_runtime@0.160.0}/helpers/typeof.js +1 -1
- package/build/esm/_virtual/_rolldown/runtime.js +8 -6
- package/build/esm/ai/anthropic-ai/index.js +2 -2
- package/build/esm/ai/anthropic-ai/streaming.js +11 -2
- package/build/esm/ai/anthropic-ai/streaming.js.map +1 -1
- package/build/esm/ai/anthropic-ai/tool-runner.js +3 -3
- package/build/esm/ai/anthropic-ai/utils.js +2 -2
- package/build/esm/ai/core/span-hooks.js +1 -1
- package/build/esm/ai/core/time-to-first-chunk.js +1 -1
- package/build/esm/ai/core/utils.js +2 -2
- package/build/esm/ai/flue/index.js +2 -2
- package/build/esm/ai/flue/utils.js +2 -2
- package/build/esm/ai/google-genai/decisions.js +1 -1
- package/build/esm/ai/google-genai/index.js +2 -2
- package/build/esm/ai/google-genai/streaming.js +9 -2
- package/build/esm/ai/google-genai/streaming.js.map +1 -1
- package/build/esm/ai/google-genai/utils.js +1 -1
- package/build/esm/ai/langchain/embeddings.js +3 -3
- package/build/esm/ai/langchain/index.js +15 -9
- package/build/esm/ai/langchain/index.js.map +1 -1
- package/build/esm/ai/langchain/typesafe-classifier.js +2 -2
- package/build/esm/ai/langchain/utils.js +3 -4
- package/build/esm/ai/langchain/utils.js.map +1 -1
- package/build/esm/ai/langgraph/agent-span.js +3 -3
- package/build/esm/ai/langgraph/index.js +1 -1
- package/build/esm/ai/langgraph/stream.js +2 -2
- package/build/esm/ai/langgraph/utils.js +3 -3
- package/build/esm/ai/mastra/index.js +2 -2
- package/build/esm/ai/mastra/span-registry.js +1 -1
- package/build/esm/ai/mastra/utils.js +2 -2
- package/build/esm/ai/mistral/index.js +2 -2
- package/build/esm/ai/mistral/streaming.js +18 -9
- package/build/esm/ai/mistral/streaming.js.map +1 -1
- package/build/esm/ai/openai/index.js +2 -2
- package/build/esm/ai/openai/mapping.js +1 -1
- package/build/esm/ai/openai/streaming.js +15 -2
- package/build/esm/ai/openai/streaming.js.map +1 -1
- package/build/esm/ai/openai/utils.js +2 -2
- package/build/esm/ai/pi-ai/chat.js +12 -4
- package/build/esm/ai/pi-ai/chat.js.map +1 -1
- package/build/esm/ai/pi-ai/providers.js +1 -1
- package/build/esm/ai/pi-ai/recording.js +1 -1
- package/build/esm/ai/pi-durable/index.js +2 -2
- package/build/esm/ai/pi-durable/runs.js +3 -3
- package/build/esm/ai/pi-durable/tools.js +3 -3
- package/build/esm/ai/tanstack-ai/index.js +2 -2
- package/build/esm/ai/tanstack-ai/utils.js +2 -2
- package/build/esm/ai/typesafe/index.js +3 -3
- package/build/esm/ai/workers-ai/index.js +2 -2
- package/build/esm/ai/workers-ai/streaming.js +7 -5
- package/build/esm/ai/workers-ai/streaming.js.map +1 -1
- package/build/esm/ai/workers-ai/utils.js +3 -3
- package/build/esm/async-context.js +1 -1
- package/build/esm/cron/common.js +1 -1
- package/build/esm/cron/cron.js +1 -1
- package/build/esm/cron/node-cron.js +1 -1
- package/build/esm/cron/node-schedule.js +1 -1
- package/build/esm/eve.js +1 -1
- package/build/esm/integrations/amqplib.js +3 -3
- package/build/esm/integrations/anthropic.js +3 -4
- package/build/esm/integrations/anthropic.js.map +1 -1
- package/build/esm/integrations/aws-sdk/index.js +3 -3
- package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +1 -1
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime-content.js +2 -2
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +3 -3
- package/build/esm/integrations/aws-sdk/services/dynamodb.js +1 -1
- package/build/esm/integrations/aws-sdk/services/lambda.js +2 -2
- package/build/esm/integrations/aws-sdk/services/sns.js +3 -3
- package/build/esm/integrations/aws-sdk/services/sqs.js +2 -2
- package/build/esm/integrations/bullmq/meter.js +2 -2
- package/build/esm/integrations/bullmq/tracer.js +2 -2
- package/build/esm/integrations/clickhouse.js +3 -3
- package/build/esm/integrations/cron.js +1 -1
- package/build/esm/integrations/dataloader.js +3 -3
- package/build/esm/integrations/express/error-handler.js +1 -1
- package/build/esm/integrations/express/index.js +1 -1
- package/build/esm/integrations/express/instrumentation.js +3 -3
- package/build/esm/integrations/fastify/errors.js +1 -1
- package/build/esm/integrations/fastify/index.js +1 -1
- package/build/esm/integrations/fastify/instrumentation.js +3 -3
- package/build/esm/integrations/firebase/firestore.js +2 -2
- package/build/esm/integrations/firebase/functions.js +1 -1
- package/build/esm/integrations/firebase/index.js +1 -1
- package/build/esm/integrations/flue.js +1 -1
- package/build/esm/integrations/generic-pool.js +3 -3
- package/build/esm/integrations/google-genai.js +2 -2
- package/build/esm/integrations/graphql/graphql-dc-subscriber.js +3 -3
- package/build/esm/integrations/graphql/index.js +1 -1
- package/build/esm/integrations/graphql/resolvers.js +2 -2
- package/build/esm/integrations/graphql/spans.js +3 -3
- package/build/esm/integrations/groq.js +1 -1
- package/build/esm/integrations/hapi/hapi-error-handler.js +1 -1
- package/build/esm/integrations/hapi/hapi-utils.js +4 -5
- package/build/esm/integrations/hapi/hapi-utils.js.map +1 -1
- package/build/esm/integrations/hapi/index.js +1 -1
- package/build/esm/integrations/hono/applyPatches.js +1 -1
- package/build/esm/integrations/hono/createHonoMiddleware.js +1 -1
- package/build/esm/integrations/hono/honoIntegration.js +3 -3
- package/build/esm/integrations/hono/matchResult.js +1 -1
- package/build/esm/integrations/hono/middlewareHandlers.js +2 -2
- package/build/esm/integrations/hono/patchAppRequest.js +3 -3
- package/build/esm/integrations/hono/patchAppUse.js +1 -1
- package/build/esm/integrations/hono/patchRoute.js +1 -1
- package/build/esm/integrations/hono/wrapMiddlewareSpan.js +3 -3
- package/build/esm/integrations/kafkajs/consumer.js +2 -2
- package/build/esm/integrations/kafkajs/index.js +1 -1
- package/build/esm/integrations/kafkajs/spans.js +2 -2
- package/build/esm/integrations/knex.js +3 -3
- package/build/esm/integrations/koa/index.js +3 -3
- package/build/esm/integrations/langchain.js +1 -1
- package/build/esm/integrations/langgraph.js +1 -1
- package/build/esm/integrations/lru-memoizer.js +1 -1
- package/build/esm/integrations/mastra-classifier.js +2 -2
- package/build/esm/integrations/mastra.js +4 -4
- package/build/esm/integrations/mcp-server.js +2 -2
- package/build/esm/integrations/mistral.js +2 -2
- package/build/esm/integrations/mongodb/index.js +1 -1
- package/build/esm/integrations/mongodb/mongodb-span.js +1 -1
- package/build/esm/integrations/mongoose/index.js +1 -1
- package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +3 -3
- package/build/esm/integrations/mongoose/mongoose-legacy-span.js +1 -1
- package/build/esm/integrations/mysql.js +3 -3
- package/build/esm/integrations/mysql2/index.js +1 -1
- package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +3 -3
- package/build/esm/integrations/neon.js +3 -3
- package/build/esm/integrations/nitro/captureStorageEvents.js +3 -3
- package/build/esm/integrations/nitro/captureTracingEvents.js +3 -3
- package/build/esm/integrations/nitro/index.js +1 -1
- package/build/esm/integrations/nitro/setServerTimingHeaders.js +1 -1
- package/build/esm/integrations/node-cron.js +1 -1
- package/build/esm/integrations/node-schedule.js +1 -1
- package/build/esm/integrations/openai-compatible.js +2 -2
- package/build/esm/integrations/openai.js +2 -2
- package/build/esm/integrations/pg.js +3 -3
- package/build/esm/integrations/pi-ai.js +1 -1
- package/build/esm/integrations/pi-durable.js +1 -1
- package/build/esm/integrations/pino.js +1 -1
- package/build/esm/integrations/postgresjs/index.js +3 -3
- package/build/esm/integrations/postgresjs/postgresjs-dc-subscriber.js +3 -3
- package/build/esm/integrations/postgresjs-wrapper.js +1 -1
- package/build/esm/integrations/prisma/index.js +1 -1
- package/build/esm/integrations/prisma/orchestrion.js +8 -12
- package/build/esm/integrations/prisma/orchestrion.js.map +1 -1
- package/build/esm/integrations/prisma/tracing-helper.js +2 -2
- package/build/esm/integrations/redis/index.js +3 -3
- package/build/esm/integrations/redis/ioredis-channel-subscriber.js +3 -3
- package/build/esm/integrations/redis/redis-cache.js +1 -1
- package/build/esm/integrations/redis/redis-dc-subscriber.js +3 -3
- package/build/esm/integrations/serveTunnel.js +2 -2
- package/build/esm/integrations/tanstack-ai.js +1 -1
- package/build/esm/integrations/tedious.js +4 -4
- package/build/esm/integrations/together-ai.js +1 -1
- package/build/esm/integrations/typesafe.js +1 -1
- package/build/esm/integrations/vercel-ai/extract.js +1 -1
- package/build/esm/integrations/vercel-ai/index.js +1 -1
- package/build/esm/integrations/vercel-ai/util.js +21 -2
- package/build/esm/integrations/vercel-ai/util.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +3 -3
- package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-tool-telemetry.js +3 -3
- package/build/esm/integrations/winston.js +1 -1
- package/build/esm/opentelemetry.js +1 -1
- package/build/esm/orchestrion/bundler/esbuild.js +1 -1
- package/build/esm/orchestrion/bundler/externalRequire.js +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +1 -1
- package/build/esm/orchestrion/bundler/webpack-loader.js +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +1 -1
- package/build/esm/orchestrion/config/index.js +1 -1
- package/build/esm/orchestrion/config/mistral.js +1 -1
- package/build/esm/orchestrion/config/mistral.js.map +1 -1
- package/build/esm/orchestrion/detect.js +1 -1
- package/build/esm/orchestrion/instrumentation.js +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/tracing-channel.js +1 -2
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/utils/cronMonitoring.js +1 -1
- package/build/esm/utils/diagnosticsChannel.js +1 -1
- package/build/esm/utils/module.js +2 -2
- package/build/esm/utils/module.js.map +1 -1
- package/build/esm/utils/monitorStream.js +1 -1
- package/build/esm/utils/serverTimingTraceHeader.js +1 -1
- package/build/esm/utils/tunnelServer.js +1 -1
- package/build/esm/utils/wrapServerRequestHandler.js +4 -4
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +3 -3
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +5 -5
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-BiWIBBjf.js +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +1 -1
- package/build/esm/vendored/esquery/dist/esquery.min.js +1 -0
- package/build/esm/vendored/esquery/dist/esquery.min.js.map +1 -1
- package/build/esm/vendored/meriyah/dist/meriyah.js +416 -418
- package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -1
- package/build/esm/vendored/meriyah/dist/meriyah2.js +416 -418
- package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -1
- package/build/esm/vendored/source-map/lib/base64-vlq.js +1 -1
- package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -1
- package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -1
- package/build/types/ai/anthropic-ai/types.d.ts +1 -0
- package/build/types/ai/anthropic-ai/types.d.ts.map +1 -1
- package/build/types/ai/google-genai/streaming.d.ts.map +1 -1
- package/build/types/ai/langchain/index.d.ts.map +1 -1
- package/build/types/ai/mistral/streaming.d.ts.map +1 -1
- package/build/types/ai/openai/streaming.d.ts.map +1 -1
- package/build/types/ai/pi-ai/chat.d.ts.map +1 -1
- package/build/types/ai/workers-ai/streaming.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/util.d.ts.map +1 -1
- package/build/types/orchestrion/config/mistral.d.ts +3 -3
- package/build/types/tracing-channel.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _defineProperty from "../../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _defineProperty from "../../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/defineProperty.js";
|
|
2
2
|
// ../../node_modules/.pnpm/meriyah@6.1.4/node_modules/meriyah/dist/meriyah.mjs
|
|
3
3
|
const unicodeLookup = ((compressed, lookup) => {
|
|
4
4
|
const result = /* @__PURE__ */ new Uint32Array(69632);
|
|
@@ -40,9 +40,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
40
40
|
0,
|
|
41
41
|
3,
|
|
42
42
|
0,
|
|
43
|
-
|
|
43
|
+
0xbcdfffff,
|
|
44
44
|
0,
|
|
45
|
-
|
|
45
|
+
0xffffd7c0,
|
|
46
46
|
2,
|
|
47
47
|
1,
|
|
48
48
|
2,
|
|
@@ -53,7 +53,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
53
53
|
0,
|
|
54
54
|
4,
|
|
55
55
|
0,
|
|
56
|
-
|
|
56
|
+
0xfffffcfb,
|
|
57
57
|
3,
|
|
58
58
|
0,
|
|
59
59
|
4,
|
|
@@ -64,33 +64,33 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
64
64
|
2,
|
|
65
65
|
0,
|
|
66
66
|
0,
|
|
67
|
-
|
|
67
|
+
0xfffe01ff,
|
|
68
68
|
0,
|
|
69
|
-
|
|
69
|
+
0xbfffffff,
|
|
70
70
|
0,
|
|
71
|
-
|
|
71
|
+
0xffff00b6,
|
|
72
72
|
2,
|
|
73
73
|
66,
|
|
74
74
|
0,
|
|
75
|
-
|
|
75
|
+
0x7ff0000,
|
|
76
76
|
3,
|
|
77
77
|
0,
|
|
78
78
|
2,
|
|
79
79
|
0,
|
|
80
|
-
|
|
80
|
+
0xffffc3ff,
|
|
81
81
|
3,
|
|
82
82
|
0,
|
|
83
83
|
2,
|
|
84
84
|
0,
|
|
85
|
-
|
|
85
|
+
0x9fefffff,
|
|
86
86
|
0,
|
|
87
|
-
|
|
87
|
+
0x9ffffdff,
|
|
88
88
|
2,
|
|
89
89
|
18,
|
|
90
90
|
2,
|
|
91
91
|
0,
|
|
92
92
|
0,
|
|
93
|
-
|
|
93
|
+
0xffffe7ff,
|
|
94
94
|
3,
|
|
95
95
|
0,
|
|
96
96
|
2,
|
|
@@ -109,7 +109,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
109
109
|
2,
|
|
110
110
|
6,
|
|
111
111
|
0,
|
|
112
|
-
|
|
112
|
+
0xff807eff,
|
|
113
113
|
3,
|
|
114
114
|
0,
|
|
115
115
|
2,
|
|
@@ -119,43 +119,43 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
119
119
|
0,
|
|
120
120
|
3,
|
|
121
121
|
0,
|
|
122
|
-
|
|
122
|
+
0xfffeffcf,
|
|
123
123
|
2,
|
|
124
124
|
40,
|
|
125
125
|
0,
|
|
126
|
-
|
|
126
|
+
0xf3c5fdff,
|
|
127
127
|
0,
|
|
128
|
-
|
|
128
|
+
0xb080799f,
|
|
129
129
|
0,
|
|
130
|
-
|
|
130
|
+
0x5003ffcf,
|
|
131
131
|
0,
|
|
132
|
-
|
|
132
|
+
0xfff987ee,
|
|
133
133
|
0,
|
|
134
|
-
|
|
134
|
+
0xd36dfdff,
|
|
135
135
|
0,
|
|
136
|
-
|
|
136
|
+
0x5e023987,
|
|
137
137
|
0,
|
|
138
138
|
4194240,
|
|
139
139
|
0,
|
|
140
|
-
|
|
140
|
+
0xfffbbfee,
|
|
141
141
|
2,
|
|
142
142
|
2,
|
|
143
143
|
0,
|
|
144
144
|
80831,
|
|
145
145
|
0,
|
|
146
|
-
|
|
146
|
+
0xfe00ffcf,
|
|
147
147
|
0,
|
|
148
|
-
|
|
148
|
+
0xfff99fee,
|
|
149
149
|
2,
|
|
150
150
|
2,
|
|
151
151
|
0,
|
|
152
|
-
|
|
152
|
+
0xb0e0399f,
|
|
153
153
|
0,
|
|
154
154
|
196559,
|
|
155
155
|
0,
|
|
156
|
-
|
|
156
|
+
0xd63dc7ec,
|
|
157
157
|
0,
|
|
158
|
-
|
|
158
|
+
0xc3ffc718,
|
|
159
159
|
0,
|
|
160
160
|
8469959,
|
|
161
161
|
0,
|
|
@@ -163,17 +163,17 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
163
163
|
2,
|
|
164
164
|
3,
|
|
165
165
|
0,
|
|
166
|
-
|
|
166
|
+
0xf3fffdff,
|
|
167
167
|
0,
|
|
168
168
|
660618719,
|
|
169
169
|
0,
|
|
170
170
|
65487,
|
|
171
171
|
0,
|
|
172
|
-
|
|
172
|
+
0xfffddfef,
|
|
173
173
|
0,
|
|
174
|
-
|
|
174
|
+
0xf3effdff,
|
|
175
175
|
0,
|
|
176
|
-
|
|
176
|
+
0x60603ddf,
|
|
177
177
|
0,
|
|
178
178
|
982991,
|
|
179
179
|
2,
|
|
@@ -181,15 +181,15 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
181
181
|
2,
|
|
182
182
|
0,
|
|
183
183
|
0,
|
|
184
|
-
|
|
184
|
+
0x80f07ddf,
|
|
185
185
|
0,
|
|
186
|
-
|
|
186
|
+
0xfc00ffcf,
|
|
187
187
|
0,
|
|
188
|
-
|
|
188
|
+
0xfc7fffee,
|
|
189
189
|
2,
|
|
190
190
|
71,
|
|
191
191
|
0,
|
|
192
|
-
|
|
192
|
+
0xff5f847f,
|
|
193
193
|
0,
|
|
194
194
|
851904,
|
|
195
195
|
2,
|
|
@@ -202,20 +202,20 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
202
202
|
2,
|
|
203
203
|
72,
|
|
204
204
|
0,
|
|
205
|
-
|
|
205
|
+
0x3fffffaf,
|
|
206
206
|
0,
|
|
207
|
-
|
|
207
|
+
0xf3ff7f5f,
|
|
208
208
|
-1,
|
|
209
209
|
0,
|
|
210
210
|
50331649,
|
|
211
211
|
0,
|
|
212
|
-
|
|
212
|
+
0xc2a003ff,
|
|
213
213
|
2,
|
|
214
214
|
33,
|
|
215
215
|
0,
|
|
216
|
-
|
|
216
|
+
0xfffe1fff,
|
|
217
217
|
0,
|
|
218
|
-
|
|
218
|
+
0xfeffffdf,
|
|
219
219
|
2,
|
|
220
220
|
20,
|
|
221
221
|
2,
|
|
@@ -281,7 +281,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
281
281
|
2,
|
|
282
282
|
80,
|
|
283
283
|
0,
|
|
284
|
-
|
|
284
|
+
0x803fffff,
|
|
285
285
|
2,
|
|
286
286
|
29,
|
|
287
287
|
2,
|
|
@@ -313,7 +313,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
313
313
|
2,
|
|
314
314
|
8,
|
|
315
315
|
0,
|
|
316
|
-
|
|
316
|
+
0xfff0fff,
|
|
317
317
|
2,
|
|
318
318
|
110,
|
|
319
319
|
2,
|
|
@@ -323,7 +323,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
323
323
|
2,
|
|
324
324
|
81,
|
|
325
325
|
0,
|
|
326
|
-
|
|
326
|
+
0x7ff03ff,
|
|
327
327
|
-1,
|
|
328
328
|
2,
|
|
329
329
|
7,
|
|
@@ -332,11 +332,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
332
332
|
2,
|
|
333
333
|
8,
|
|
334
334
|
0,
|
|
335
|
-
|
|
335
|
+
0x9fffffff,
|
|
336
336
|
0,
|
|
337
337
|
67044351,
|
|
338
338
|
0,
|
|
339
|
-
|
|
339
|
+
0xbfff0080,
|
|
340
340
|
2,
|
|
341
341
|
17,
|
|
342
342
|
-1,
|
|
@@ -346,7 +346,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
346
346
|
2,
|
|
347
347
|
53,
|
|
348
348
|
0,
|
|
349
|
-
|
|
349
|
+
0xff800,
|
|
350
350
|
3,
|
|
351
351
|
0,
|
|
352
352
|
3,
|
|
@@ -357,7 +357,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
357
357
|
2,
|
|
358
358
|
54,
|
|
359
359
|
0,
|
|
360
|
-
|
|
360
|
+
0xffffe3ff,
|
|
361
361
|
2,
|
|
362
362
|
10,
|
|
363
363
|
2,
|
|
@@ -365,7 +365,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
365
365
|
2,
|
|
366
366
|
11,
|
|
367
367
|
0,
|
|
368
|
-
|
|
368
|
+
0xfff70000,
|
|
369
369
|
2,
|
|
370
370
|
12,
|
|
371
371
|
3,
|
|
@@ -417,7 +417,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
417
417
|
0,
|
|
418
418
|
7,
|
|
419
419
|
0,
|
|
420
|
-
|
|
420
|
+
0xff81f,
|
|
421
421
|
2,
|
|
422
422
|
0,
|
|
423
423
|
2,
|
|
@@ -425,7 +425,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
425
425
|
2,
|
|
426
426
|
0,
|
|
427
427
|
0,
|
|
428
|
-
|
|
428
|
+
0x800080ff,
|
|
429
429
|
2,
|
|
430
430
|
21,
|
|
431
431
|
3,
|
|
@@ -443,7 +443,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
443
443
|
2,
|
|
444
444
|
0,
|
|
445
445
|
0,
|
|
446
|
-
|
|
446
|
+
0xfe7fffff,
|
|
447
447
|
2,
|
|
448
448
|
4,
|
|
449
449
|
3,
|
|
@@ -488,7 +488,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
488
488
|
2,
|
|
489
489
|
0,
|
|
490
490
|
0,
|
|
491
|
-
|
|
491
|
+
0xbff0ffff,
|
|
492
492
|
3,
|
|
493
493
|
0,
|
|
494
494
|
3,
|
|
@@ -523,7 +523,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
523
523
|
0,
|
|
524
524
|
67043391,
|
|
525
525
|
0,
|
|
526
|
-
|
|
526
|
+
0xe8ffffff,
|
|
527
527
|
2,
|
|
528
528
|
0,
|
|
529
529
|
2,
|
|
@@ -546,7 +546,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
546
546
|
0,
|
|
547
547
|
67059711,
|
|
548
548
|
0,
|
|
549
|
-
|
|
549
|
+
0xfc7fffff,
|
|
550
550
|
3,
|
|
551
551
|
0,
|
|
552
552
|
2,
|
|
@@ -589,7 +589,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
589
589
|
32,
|
|
590
590
|
-1,
|
|
591
591
|
0,
|
|
592
|
-
|
|
592
|
+
0xe0f8007f,
|
|
593
593
|
2,
|
|
594
594
|
105,
|
|
595
595
|
2,
|
|
@@ -755,9 +755,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
755
755
|
39,
|
|
756
756
|
-2,
|
|
757
757
|
0,
|
|
758
|
-
|
|
758
|
+
0xfeeff06f,
|
|
759
759
|
0,
|
|
760
|
-
|
|
760
|
+
0x873fffff,
|
|
761
761
|
-1,
|
|
762
762
|
3,
|
|
763
763
|
20,
|
|
@@ -798,7 +798,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
798
798
|
2,
|
|
799
799
|
0,
|
|
800
800
|
0,
|
|
801
|
-
|
|
801
|
+
0xffffbe3f,
|
|
802
802
|
2,
|
|
803
803
|
37,
|
|
804
804
|
-7,
|
|
@@ -809,7 +809,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
809
809
|
2,
|
|
810
810
|
57,
|
|
811
811
|
0,
|
|
812
|
-
|
|
812
|
+
0xf0000000,
|
|
813
813
|
2,
|
|
814
814
|
20,
|
|
815
815
|
2,
|
|
@@ -832,13 +832,13 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
832
832
|
2,
|
|
833
833
|
38,
|
|
834
834
|
0,
|
|
835
|
-
|
|
835
|
+
0x803fffc0,
|
|
836
836
|
2,
|
|
837
837
|
0,
|
|
838
838
|
2,
|
|
839
839
|
12,
|
|
840
840
|
0,
|
|
841
|
-
|
|
841
|
+
0xffff0004,
|
|
842
842
|
2,
|
|
843
843
|
144,
|
|
844
844
|
2,
|
|
@@ -873,9 +873,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
873
873
|
2,
|
|
874
874
|
40,
|
|
875
875
|
0,
|
|
876
|
-
|
|
876
|
+
0xfbedfdff,
|
|
877
877
|
0,
|
|
878
|
-
|
|
878
|
+
0xe081399f,
|
|
879
879
|
0,
|
|
880
880
|
2039759,
|
|
881
881
|
2,
|
|
@@ -883,14 +883,14 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
883
883
|
2,
|
|
884
884
|
41,
|
|
885
885
|
0,
|
|
886
|
-
|
|
886
|
+
0xff7a5,
|
|
887
887
|
0,
|
|
888
888
|
6,
|
|
889
889
|
3,
|
|
890
890
|
0,
|
|
891
891
|
2,
|
|
892
892
|
0,
|
|
893
|
-
|
|
893
|
+
0xc3ff07ff,
|
|
894
894
|
0,
|
|
895
895
|
3,
|
|
896
896
|
3,
|
|
@@ -902,9 +902,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
902
902
|
2,
|
|
903
903
|
0,
|
|
904
904
|
0,
|
|
905
|
-
|
|
905
|
+
0xff3fffff,
|
|
906
906
|
0,
|
|
907
|
-
|
|
907
|
+
0x3f000001,
|
|
908
908
|
-1,
|
|
909
909
|
3,
|
|
910
910
|
0,
|
|
@@ -936,18 +936,18 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
936
936
|
0,
|
|
937
937
|
2,
|
|
938
938
|
0,
|
|
939
|
-
|
|
939
|
+
0x800003ff,
|
|
940
940
|
2,
|
|
941
941
|
134,
|
|
942
942
|
0,
|
|
943
|
-
|
|
943
|
+
0xf9bfffff,
|
|
944
944
|
2,
|
|
945
945
|
52,
|
|
946
946
|
-2,
|
|
947
947
|
2,
|
|
948
948
|
135,
|
|
949
949
|
0,
|
|
950
|
-
|
|
950
|
+
0xfcffffff,
|
|
951
951
|
0,
|
|
952
952
|
27,
|
|
953
953
|
2,
|
|
@@ -987,7 +987,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
987
987
|
2,
|
|
988
988
|
136,
|
|
989
989
|
0,
|
|
990
|
-
|
|
990
|
+
0xb47fffff,
|
|
991
991
|
2,
|
|
992
992
|
48,
|
|
993
993
|
2,
|
|
@@ -1000,11 +1000,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1000
1000
|
2,
|
|
1001
1001
|
21,
|
|
1002
1002
|
0,
|
|
1003
|
-
|
|
1003
|
+
0xfffdffff,
|
|
1004
1004
|
0,
|
|
1005
|
-
|
|
1005
|
+
0xc7ffffff,
|
|
1006
1006
|
0,
|
|
1007
|
-
|
|
1007
|
+
0x7ff0007,
|
|
1008
1008
|
-2,
|
|
1009
1009
|
2,
|
|
1010
1010
|
69,
|
|
@@ -1097,11 +1097,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1097
1097
|
0,
|
|
1098
1098
|
2,
|
|
1099
1099
|
0,
|
|
1100
|
-
|
|
1100
|
+
0xffff87ff,
|
|
1101
1101
|
2,
|
|
1102
1102
|
0,
|
|
1103
1103
|
0,
|
|
1104
|
-
|
|
1104
|
+
0xffff80ff,
|
|
1105
1105
|
-2,
|
|
1106
1106
|
0,
|
|
1107
1107
|
196635,
|
|
@@ -1143,7 +1143,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1143
1143
|
2,
|
|
1144
1144
|
143,
|
|
1145
1145
|
0,
|
|
1146
|
-
|
|
1146
|
+
0x63ff01ff,
|
|
1147
1147
|
-130,
|
|
1148
1148
|
2,
|
|
1149
1149
|
26,
|
|
@@ -1156,7 +1156,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1156
1156
|
38,
|
|
1157
1157
|
-16,
|
|
1158
1158
|
0,
|
|
1159
|
-
|
|
1159
|
+
0xf807e3e0,
|
|
1160
1160
|
0,
|
|
1161
1161
|
4071,
|
|
1162
1162
|
0,
|
|
@@ -1205,7 +1205,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1205
1205
|
59,
|
|
1206
1206
|
2,
|
|
1207
1207
|
0,
|
|
1208
|
-
|
|
1208
|
+
0xffffcff7,
|
|
1209
1209
|
2,
|
|
1210
1210
|
0,
|
|
1211
1211
|
-16,
|
|
@@ -1218,7 +1218,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1218
1218
|
0,
|
|
1219
1219
|
2105343,
|
|
1220
1220
|
0,
|
|
1221
|
-
|
|
1221
|
+
0xf8000010,
|
|
1222
1222
|
0,
|
|
1223
1223
|
65534,
|
|
1224
1224
|
-34,
|
|
@@ -1228,9 +1228,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1228
1228
|
154,
|
|
1229
1229
|
-6,
|
|
1230
1230
|
0,
|
|
1231
|
-
|
|
1231
|
+
0xf9ffff7f,
|
|
1232
1232
|
0,
|
|
1233
|
-
|
|
1233
|
+
0xffff07db,
|
|
1234
1234
|
2,
|
|
1235
1235
|
0,
|
|
1236
1236
|
2,
|
|
@@ -1241,7 +1241,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1241
1241
|
2,
|
|
1242
1242
|
0,
|
|
1243
1243
|
0,
|
|
1244
|
-
|
|
1244
|
+
0x3fff1fff,
|
|
1245
1245
|
0,
|
|
1246
1246
|
17407,
|
|
1247
1247
|
-9,
|
|
@@ -1365,9 +1365,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1365
1365
|
64,
|
|
1366
1366
|
-3,
|
|
1367
1367
|
0,
|
|
1368
|
-
|
|
1368
|
+
0xbcdf0000,
|
|
1369
1369
|
0,
|
|
1370
|
-
|
|
1370
|
+
0xffffd740,
|
|
1371
1371
|
2,
|
|
1372
1372
|
1,
|
|
1373
1373
|
2,
|
|
@@ -1378,7 +1378,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1378
1378
|
0,
|
|
1379
1379
|
4,
|
|
1380
1380
|
0,
|
|
1381
|
-
|
|
1381
|
+
0xfffffc03,
|
|
1382
1382
|
3,
|
|
1383
1383
|
0,
|
|
1384
1384
|
4,
|
|
@@ -1401,16 +1401,16 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1401
1401
|
0,
|
|
1402
1402
|
2047,
|
|
1403
1403
|
0,
|
|
1404
|
-
|
|
1404
|
+
0xfffec000,
|
|
1405
1405
|
3,
|
|
1406
1406
|
0,
|
|
1407
1407
|
2,
|
|
1408
1408
|
0,
|
|
1409
1409
|
3145727,
|
|
1410
1410
|
0,
|
|
1411
|
-
|
|
1411
|
+
0x9c00c060,
|
|
1412
1412
|
0,
|
|
1413
|
-
|
|
1413
|
+
0xfffd0000,
|
|
1414
1414
|
2,
|
|
1415
1415
|
25,
|
|
1416
1416
|
2,
|
|
@@ -1444,27 +1444,27 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1444
1444
|
2,
|
|
1445
1445
|
68,
|
|
1446
1446
|
0,
|
|
1447
|
-
|
|
1447
|
+
0xff010000,
|
|
1448
1448
|
0,
|
|
1449
|
-
|
|
1449
|
+
0xfffe0003,
|
|
1450
1450
|
0,
|
|
1451
|
-
|
|
1451
|
+
0xfff99fe1,
|
|
1452
1452
|
0,
|
|
1453
1453
|
600178175,
|
|
1454
1454
|
0,
|
|
1455
|
-
|
|
1455
|
+
0xb0004000,
|
|
1456
1456
|
0,
|
|
1457
1457
|
268632067,
|
|
1458
1458
|
0,
|
|
1459
|
-
|
|
1459
|
+
0xfff987e0,
|
|
1460
1460
|
0,
|
|
1461
1461
|
57540095,
|
|
1462
1462
|
0,
|
|
1463
|
-
|
|
1463
|
+
0x5e000000,
|
|
1464
1464
|
0,
|
|
1465
1465
|
1835008,
|
|
1466
1466
|
0,
|
|
1467
|
-
|
|
1467
|
+
0xfffbbfe0,
|
|
1468
1468
|
2,
|
|
1469
1469
|
70,
|
|
1470
1470
|
2,
|
|
@@ -1476,11 +1476,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1476
1476
|
2,
|
|
1477
1477
|
70,
|
|
1478
1478
|
0,
|
|
1479
|
-
|
|
1479
|
+
0xb0000000,
|
|
1480
1480
|
0,
|
|
1481
1481
|
131075,
|
|
1482
1482
|
0,
|
|
1483
|
-
|
|
1483
|
+
0xd63dc7e8,
|
|
1484
1484
|
0,
|
|
1485
1485
|
67094296,
|
|
1486
1486
|
2,
|
|
@@ -1495,23 +1495,23 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1495
1495
|
0,
|
|
1496
1496
|
3,
|
|
1497
1497
|
0,
|
|
1498
|
-
|
|
1498
|
+
0xfffddfe1,
|
|
1499
1499
|
0,
|
|
1500
1500
|
602930687,
|
|
1501
1501
|
0,
|
|
1502
|
-
|
|
1502
|
+
0x60000000,
|
|
1503
1503
|
0,
|
|
1504
1504
|
393219,
|
|
1505
1505
|
0,
|
|
1506
|
-
|
|
1506
|
+
0xfffddff0,
|
|
1507
1507
|
0,
|
|
1508
1508
|
671088639,
|
|
1509
1509
|
0,
|
|
1510
|
-
|
|
1510
|
+
0x80704000,
|
|
1511
1511
|
0,
|
|
1512
|
-
|
|
1512
|
+
0xfc000003,
|
|
1513
1513
|
0,
|
|
1514
|
-
|
|
1514
|
+
0xfc7fffe0,
|
|
1515
1515
|
2,
|
|
1516
1516
|
71,
|
|
1517
1517
|
2,
|
|
@@ -1529,7 +1529,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1529
1529
|
0,
|
|
1530
1530
|
537788335,
|
|
1531
1531
|
0,
|
|
1532
|
-
|
|
1532
|
+
0xf000005f,
|
|
1533
1533
|
-1,
|
|
1534
1534
|
0,
|
|
1535
1535
|
1,
|
|
@@ -1544,11 +1544,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1544
1544
|
2,
|
|
1545
1545
|
0,
|
|
1546
1546
|
0,
|
|
1547
|
-
|
|
1547
|
+
0x800007ff,
|
|
1548
1548
|
0,
|
|
1549
|
-
|
|
1549
|
+
0x3c3f0000,
|
|
1550
1550
|
0,
|
|
1551
|
-
|
|
1551
|
+
0xffe1c062,
|
|
1552
1552
|
0,
|
|
1553
1553
|
16387,
|
|
1554
1554
|
2,
|
|
@@ -1601,7 +1601,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1601
1601
|
2,
|
|
1602
1602
|
80,
|
|
1603
1603
|
0,
|
|
1604
|
-
|
|
1604
|
+
0x8003ffff,
|
|
1605
1605
|
3,
|
|
1606
1606
|
19,
|
|
1607
1607
|
2,
|
|
@@ -1622,7 +1622,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1622
1622
|
2,
|
|
1623
1623
|
0,
|
|
1624
1624
|
0,
|
|
1625
|
-
|
|
1625
|
+
0xffff05ff,
|
|
1626
1626
|
2,
|
|
1627
1627
|
0,
|
|
1628
1628
|
2,
|
|
@@ -1661,7 +1661,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1661
1661
|
2,
|
|
1662
1662
|
127,
|
|
1663
1663
|
0,
|
|
1664
|
-
|
|
1664
|
+
0xfc00c001,
|
|
1665
1665
|
2,
|
|
1666
1666
|
0,
|
|
1667
1667
|
2,
|
|
@@ -1671,7 +1671,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1671
1671
|
2,
|
|
1672
1672
|
50,
|
|
1673
1673
|
0,
|
|
1674
|
-
|
|
1674
|
+
0xfc00e000,
|
|
1675
1675
|
2,
|
|
1676
1676
|
10,
|
|
1677
1677
|
2,
|
|
@@ -1795,7 +1795,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1795
1795
|
2,
|
|
1796
1796
|
0,
|
|
1797
1797
|
0,
|
|
1798
|
-
|
|
1798
|
+
0x80007fff,
|
|
1799
1799
|
2,
|
|
1800
1800
|
10,
|
|
1801
1801
|
3,
|
|
@@ -1819,7 +1819,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1819
1819
|
2,
|
|
1820
1820
|
46,
|
|
1821
1821
|
0,
|
|
1822
|
-
|
|
1822
|
+
0xfffff7bb,
|
|
1823
1823
|
0,
|
|
1824
1824
|
7,
|
|
1825
1825
|
2,
|
|
@@ -1832,11 +1832,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1832
1832
|
9,
|
|
1833
1833
|
-1,
|
|
1834
1834
|
0,
|
|
1835
|
-
|
|
1835
|
+
0x68fc0000,
|
|
1836
1836
|
2,
|
|
1837
1837
|
98,
|
|
1838
1838
|
0,
|
|
1839
|
-
|
|
1839
|
+
0xffff003f,
|
|
1840
1840
|
2,
|
|
1841
1841
|
38,
|
|
1842
1842
|
2,
|
|
@@ -1848,7 +1848,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1848
1848
|
2,
|
|
1849
1849
|
100,
|
|
1850
1850
|
0,
|
|
1851
|
-
|
|
1851
|
+
0x7c00ffdf,
|
|
1852
1852
|
2,
|
|
1853
1853
|
0,
|
|
1854
1854
|
2,
|
|
@@ -1856,11 +1856,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1856
1856
|
2,
|
|
1857
1857
|
153,
|
|
1858
1858
|
0,
|
|
1859
|
-
|
|
1859
|
+
0xc47fffff,
|
|
1860
1860
|
2,
|
|
1861
1861
|
0,
|
|
1862
1862
|
0,
|
|
1863
|
-
|
|
1863
|
+
0x3e62ffff,
|
|
1864
1864
|
0,
|
|
1865
1865
|
939524101,
|
|
1866
1866
|
0,
|
|
@@ -1900,7 +1900,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1900
1900
|
32,
|
|
1901
1901
|
-1,
|
|
1902
1902
|
0,
|
|
1903
|
-
|
|
1903
|
+
0xa0f8007f,
|
|
1904
1904
|
2,
|
|
1905
1905
|
105,
|
|
1906
1906
|
2,
|
|
@@ -2055,7 +2055,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2055
2055
|
39,
|
|
2056
2056
|
-2,
|
|
2057
2057
|
0,
|
|
2058
|
-
|
|
2058
|
+
0xfeef0001,
|
|
2059
2059
|
2,
|
|
2060
2060
|
30,
|
|
2061
2061
|
-1,
|
|
@@ -2098,7 +2098,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2098
2098
|
2,
|
|
2099
2099
|
98,
|
|
2100
2100
|
0,
|
|
2101
|
-
|
|
2101
|
+
0xffff803f,
|
|
2102
2102
|
2,
|
|
2103
2103
|
37,
|
|
2104
2104
|
-7,
|
|
@@ -2145,7 +2145,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2145
2145
|
2,
|
|
2146
2146
|
38,
|
|
2147
2147
|
0,
|
|
2148
|
-
|
|
2148
|
+
0xffff0090,
|
|
2149
2149
|
0,
|
|
2150
2150
|
4718591,
|
|
2151
2151
|
2,
|
|
@@ -2158,7 +2158,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2158
2158
|
2,
|
|
2159
2159
|
128,
|
|
2160
2160
|
0,
|
|
2161
|
-
|
|
2161
|
+
0x80000fff,
|
|
2162
2162
|
0,
|
|
2163
2163
|
1,
|
|
2164
2164
|
-1,
|
|
@@ -2174,13 +2174,13 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2174
2174
|
2,
|
|
2175
2175
|
70,
|
|
2176
2176
|
0,
|
|
2177
|
-
|
|
2177
|
+
0xe0010000,
|
|
2178
2178
|
0,
|
|
2179
2179
|
3,
|
|
2180
2180
|
2,
|
|
2181
2181
|
132,
|
|
2182
2182
|
0,
|
|
2183
|
-
|
|
2183
|
+
0xbfffff,
|
|
2184
2184
|
0,
|
|
2185
2185
|
655360,
|
|
2186
2186
|
-1,
|
|
@@ -2189,7 +2189,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2189
2189
|
2,
|
|
2190
2190
|
29,
|
|
2191
2191
|
0,
|
|
2192
|
-
|
|
2192
|
+
0x80000780,
|
|
2193
2193
|
0,
|
|
2194
2194
|
3,
|
|
2195
2195
|
2,
|
|
@@ -2204,7 +2204,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2204
2204
|
2,
|
|
2205
2205
|
17,
|
|
2206
2206
|
0,
|
|
2207
|
-
|
|
2207
|
+
0xf000000,
|
|
2208
2208
|
-1,
|
|
2209
2209
|
2,
|
|
2210
2210
|
0,
|
|
@@ -2237,7 +2237,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2237
2237
|
2,
|
|
2238
2238
|
134,
|
|
2239
2239
|
0,
|
|
2240
|
-
|
|
2240
|
+
0x8000ffff,
|
|
2241
2241
|
0,
|
|
2242
2242
|
2,
|
|
2243
2243
|
-2,
|
|
@@ -2248,11 +2248,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2248
2248
|
0,
|
|
2249
2249
|
10,
|
|
2250
2250
|
0,
|
|
2251
|
-
|
|
2251
|
+
0xfffff801,
|
|
2252
2252
|
0,
|
|
2253
2253
|
67633151,
|
|
2254
2254
|
0,
|
|
2255
|
-
|
|
2255
|
+
0xf0010000,
|
|
2256
2256
|
2,
|
|
2257
2257
|
0,
|
|
2258
2258
|
0,
|
|
@@ -2293,7 +2293,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2293
2293
|
2,
|
|
2294
2294
|
35,
|
|
2295
2295
|
0,
|
|
2296
|
-
|
|
2296
|
+
0xfffdfff4,
|
|
2297
2297
|
2,
|
|
2298
2298
|
9,
|
|
2299
2299
|
-3,
|
|
@@ -2490,7 +2490,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2490
2490
|
2,
|
|
2491
2491
|
0,
|
|
2492
2492
|
0,
|
|
2493
|
-
|
|
2493
|
+
0x3f801fff,
|
|
2494
2494
|
0,
|
|
2495
2495
|
16384,
|
|
2496
2496
|
-9,
|
|
@@ -2588,171 +2588,171 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2588
2588
|
25,
|
|
2589
2589
|
-28386
|
|
2590
2590
|
], [
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2591
|
+
0xffffffff,
|
|
2592
|
+
0xfffffffb,
|
|
2593
|
+
0xf3edfdff,
|
|
2594
|
+
0xfffddfff,
|
|
2595
|
+
0xfffffffe,
|
|
2596
|
+
0x7fffffe,
|
|
2597
|
+
0xffff07ff,
|
|
2598
|
+
0xfffffff,
|
|
2599
|
+
0x7fffffff,
|
|
2600
|
+
0xfffff,
|
|
2601
|
+
0x3fffffff,
|
|
2602
|
+
0xe7ffffff,
|
|
2603
|
+
0x7ffffff,
|
|
2604
|
+
0x3f3fffff,
|
|
2605
2605
|
536805376,
|
|
2606
|
-
|
|
2607
|
-
|
|
2606
|
+
0xffff20bf,
|
|
2607
|
+
0xfffeffff,
|
|
2608
2608
|
32767,
|
|
2609
|
-
|
|
2609
|
+
0xffff0000,
|
|
2610
2610
|
262143,
|
|
2611
2611
|
536870911,
|
|
2612
2612
|
8388607,
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2613
|
+
0xf7ffffff,
|
|
2614
|
+
0xffff03ff,
|
|
2615
|
+
0xffff3fff,
|
|
2616
2616
|
65535,
|
|
2617
2617
|
67043328,
|
|
2618
|
-
|
|
2619
|
-
|
|
2618
|
+
0x87fffffe,
|
|
2619
|
+
0xffffffe0,
|
|
2620
2620
|
2097151,
|
|
2621
2621
|
4194303,
|
|
2622
2622
|
255,
|
|
2623
2623
|
67108863,
|
|
2624
|
-
|
|
2624
|
+
0xfffffeff,
|
|
2625
2625
|
511,
|
|
2626
2626
|
524287,
|
|
2627
2627
|
131071,
|
|
2628
2628
|
63,
|
|
2629
2629
|
127,
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2630
|
+
0xc0ffffff,
|
|
2631
|
+
0xfff99fef,
|
|
2632
|
+
0xffbfffff,
|
|
2633
2633
|
33554431,
|
|
2634
|
-
|
|
2635
|
-
|
|
2634
|
+
0xffff0080,
|
|
2635
|
+
0xff7fffff,
|
|
2636
2636
|
67043329,
|
|
2637
|
-
|
|
2638
|
-
|
|
2637
|
+
0xfffc0000,
|
|
2638
|
+
0xfffcffff,
|
|
2639
2639
|
67043583,
|
|
2640
2640
|
1023,
|
|
2641
2641
|
15,
|
|
2642
2642
|
2047999,
|
|
2643
2643
|
67043343,
|
|
2644
2644
|
67051519,
|
|
2645
|
-
|
|
2646
|
-
|
|
2645
|
+
0xffffff,
|
|
2646
|
+
0x80000000,
|
|
2647
2647
|
4294902e3,
|
|
2648
2648
|
28,
|
|
2649
|
-
|
|
2650
|
-
|
|
2649
|
+
0xffdfffff,
|
|
2650
|
+
0xfffffdff,
|
|
2651
2651
|
16383,
|
|
2652
2652
|
67047423,
|
|
2653
|
-
|
|
2653
|
+
0xffffffef,
|
|
2654
2654
|
262083,
|
|
2655
2655
|
20511,
|
|
2656
2656
|
41943039,
|
|
2657
2657
|
493567,
|
|
2658
|
-
|
|
2658
|
+
0xffffe000,
|
|
2659
2659
|
603979775,
|
|
2660
2660
|
65536,
|
|
2661
2661
|
602799615,
|
|
2662
2662
|
805044223,
|
|
2663
|
-
|
|
2663
|
+
0xfffff7d6,
|
|
2664
2664
|
8191,
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2665
|
+
0x3d7f3dff,
|
|
2666
|
+
0xffff3dff,
|
|
2667
|
+
0x7f3dffff,
|
|
2668
|
+
0xff7fff3d,
|
|
2669
|
+
0xff3dffff,
|
|
2670
|
+
0xffff9fff,
|
|
2671
2671
|
33540095,
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2672
|
+
0xffff0fff,
|
|
2673
|
+
0xaaff3f3f,
|
|
2674
|
+
0x5fdfffff,
|
|
2675
|
+
0xfcf1fdc,
|
|
2676
2676
|
534519807,
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2677
|
+
0x80020000,
|
|
2678
|
+
0x3f2ffc84,
|
|
2679
|
+
0xf3fffd50,
|
|
2680
2680
|
17376,
|
|
2681
|
-
|
|
2681
|
+
0x7f7f7f7f,
|
|
2682
2682
|
224,
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2683
|
+
0xf87fffff,
|
|
2684
|
+
0xffff1fff,
|
|
2685
|
+
0xff800000,
|
|
2686
|
+
0xfffffffc,
|
|
2687
|
+
0xfffff9ff,
|
|
2688
2688
|
535511039,
|
|
2689
|
-
|
|
2690
|
-
|
|
2689
|
+
0xfffffc00,
|
|
2690
|
+
0xfffffff0,
|
|
2691
2691
|
32768,
|
|
2692
2692
|
8289918,
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2693
|
+
0xffff7f7f,
|
|
2694
|
+
0xffff000f,
|
|
2695
|
+
0xfffff87f,
|
|
2696
|
+
0x5f7ffdff,
|
|
2697
|
+
0xffffffdb,
|
|
2698
|
+
0xfff80000,
|
|
2699
|
+
0xfff0000,
|
|
2700
|
+
0xffdf0000,
|
|
2701
|
+
0xffffffc0,
|
|
2702
2702
|
486341884,
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2703
|
+
0xffffefff,
|
|
2704
|
+
0xb7ffff7f,
|
|
2705
|
+
0x3fff3fff,
|
|
2706
2706
|
4128527,
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2707
|
+
0xff0fffff,
|
|
2708
|
+
0xffff00ff,
|
|
2709
|
+
0xf7ff000f,
|
|
2710
|
+
0xffb7f7ff,
|
|
2711
2711
|
469499899,
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2712
|
+
0xffffffbf,
|
|
2713
|
+
0x7fdffff,
|
|
2714
|
+
0xfffffd3f,
|
|
2715
|
+
0x91bfffff,
|
|
2716
2716
|
3670015,
|
|
2717
2717
|
31,
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2718
|
+
0xfffffff8,
|
|
2719
|
+
0xfffbffff,
|
|
2720
|
+
0xbfffbd7f,
|
|
2721
|
+
0xffff01ff,
|
|
2722
|
+
0xfff99fe0,
|
|
2723
|
+
0xffff4bff,
|
|
2724
2724
|
4095,
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2725
|
+
0xff6ff27f,
|
|
2726
|
+
0xfffffcff,
|
|
2727
|
+
0xfffffb7f,
|
|
2728
2728
|
64,
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2729
|
+
0xfffffdbf,
|
|
2730
|
+
0xe0fffff8,
|
|
2731
|
+
0x6fef0000,
|
|
2732
2732
|
262151,
|
|
2733
2733
|
2555904,
|
|
2734
2734
|
536807423,
|
|
2735
2735
|
67043839,
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2736
|
+
0xdfffffff,
|
|
2737
|
+
0xebffde64,
|
|
2738
|
+
0xdfdfe7bf,
|
|
2739
|
+
0x7bffffff,
|
|
2740
|
+
0xfffdfc5f,
|
|
2741
|
+
0xffffff3f,
|
|
2742
|
+
0xf7fffffd,
|
|
2743
|
+
0xffff7fff,
|
|
2744
2744
|
4087,
|
|
2745
2745
|
2016,
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2746
|
+
0x7fff6f7f,
|
|
2747
|
+
0xaf7fe96,
|
|
2748
|
+
0xaa96ea84,
|
|
2749
|
+
0x5ef7f796,
|
|
2750
|
+
0xffffbff,
|
|
2751
|
+
0xffffbee,
|
|
2752
|
+
0xffff0003,
|
|
2753
|
+
0xffff0001
|
|
2754
2754
|
]);
|
|
2755
|
-
const isIDContinue = (code) => (unicodeLookup[
|
|
2755
|
+
const isIDContinue = (code) => (unicodeLookup[code >>> 5] >>> code & 1) !== 0;
|
|
2756
2756
|
const isIDStart = (code) => (unicodeLookup[(code >>> 5) + 34816] >>> code & 1) !== 0;
|
|
2757
2757
|
function advanceChar(parser) {
|
|
2758
2758
|
parser.column++;
|
|
@@ -2787,8 +2787,8 @@ function toHex(code) {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
function convertTokenType(t) {
|
|
2789
2789
|
switch (t) {
|
|
2790
|
-
case
|
|
2791
|
-
case
|
|
2790
|
+
case 0x8010002: return "NumericLiteral";
|
|
2791
|
+
case 0x8010003: return "StringLiteral";
|
|
2792
2792
|
case 86021:
|
|
2793
2793
|
case 86022: return "BooleanLiteral";
|
|
2794
2794
|
case 86023: return "NullLiteral";
|
|
@@ -3417,7 +3417,7 @@ function scanString(parser, context, quote) {
|
|
|
3417
3417
|
advanceChar(parser);
|
|
3418
3418
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(start, parser.index);
|
|
3419
3419
|
parser.tokenValue = ret;
|
|
3420
|
-
return
|
|
3420
|
+
return 0x8010003;
|
|
3421
3421
|
}
|
|
3422
3422
|
if ((char & 8) === 8 && char === 92) {
|
|
3423
3423
|
ret += parser.source.slice(marker, parser.index);
|
|
@@ -3949,7 +3949,7 @@ function scanNumber(parser, context, kind) {
|
|
|
3949
3949
|
if (digit >= 0 && !isIdentifierStart(char) && char !== 46) {
|
|
3950
3950
|
parser.tokenValue = value;
|
|
3951
3951
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
3952
|
-
return
|
|
3952
|
+
return 0x8010002;
|
|
3953
3953
|
}
|
|
3954
3954
|
}
|
|
3955
3955
|
value += scanDecimalDigitsOrSeparator(parser, char);
|
|
@@ -3979,11 +3979,11 @@ function scanNumber(parser, context, kind) {
|
|
|
3979
3979
|
if (isBigInt) {
|
|
3980
3980
|
parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
3981
3981
|
parser.tokenValue = BigInt(parser.tokenRaw.slice(0, -1).replaceAll("_", ""));
|
|
3982
|
-
return
|
|
3982
|
+
return 0x801007c;
|
|
3983
3983
|
}
|
|
3984
3984
|
parser.tokenValue = kind & 15 ? value : kind & 32 ? parseFloat(parser.source.substring(parser.tokenIndex, parser.index)) : +value;
|
|
3985
3985
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
3986
|
-
return
|
|
3986
|
+
return 0x8010002;
|
|
3987
3987
|
}
|
|
3988
3988
|
function scanDecimalDigitsOrSeparator(parser, char) {
|
|
3989
3989
|
let allowSeparator = 0;
|
|
@@ -4215,7 +4215,7 @@ const descKeywordTable = {
|
|
|
4215
4215
|
};
|
|
4216
4216
|
function matchOrInsertSemicolon(parser, context) {
|
|
4217
4217
|
if ((parser.flags & 1) === 0 && (parser.getToken() & 1048576) !== 1048576) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
4218
|
-
if (!consumeOpt(parser, context,
|
|
4218
|
+
if (!consumeOpt(parser, context, 0x40100011)) parser.options.onInsertedSemicolon?.(parser.startIndex);
|
|
4219
4219
|
}
|
|
4220
4220
|
function isValidStrictMode(parser, index, tokenIndex, tokenValue) {
|
|
4221
4221
|
if (index - tokenIndex < 13 && tokenValue === "use strict") {
|
|
@@ -4273,7 +4273,7 @@ function validateBindingIdentifier(parser, context, kind, t, skipEvalArgCheck) {
|
|
|
4273
4273
|
if ((t & 36864) === 36864) parser.report(118);
|
|
4274
4274
|
if (!skipEvalArgCheck && (t & 537079808) === 537079808) parser.report(119);
|
|
4275
4275
|
}
|
|
4276
|
-
if ((t & 20480) === 20480 || t === -
|
|
4276
|
+
if ((t & 20480) === 20480 || t === -0x7fffff88) parser.report(102);
|
|
4277
4277
|
if (kind & 24 && (t & 255) === 73) parser.report(100);
|
|
4278
4278
|
if (context & 2050 && t === 209006) parser.report(110);
|
|
4279
4279
|
if (context & 1025 && t === 241771) parser.report(97, "yield");
|
|
@@ -4282,8 +4282,8 @@ function validateFunctionName(parser, context, t) {
|
|
|
4282
4282
|
if (context & 1) {
|
|
4283
4283
|
if ((t & 36864) === 36864) parser.report(118);
|
|
4284
4284
|
if ((t & 537079808) === 537079808) parser.report(119);
|
|
4285
|
-
if (t === -
|
|
4286
|
-
if (t === -
|
|
4285
|
+
if (t === -0x7fffff87) parser.report(95);
|
|
4286
|
+
if (t === -0x7fffff88) parser.report(95);
|
|
4287
4287
|
}
|
|
4288
4288
|
if ((t & 20480) === 20480) parser.report(102);
|
|
4289
4289
|
if (context & 2050 && t === 209006) parser.report(110);
|
|
@@ -4295,7 +4295,7 @@ function isStrictReservedWord(parser, context, t) {
|
|
|
4295
4295
|
parser.destructible |= 128;
|
|
4296
4296
|
}
|
|
4297
4297
|
if (t === 241771 && context & 1024) parser.report(97, "yield");
|
|
4298
|
-
return (t & 20480) === 20480 || (t & 36864) === 36864 || t == -
|
|
4298
|
+
return (t & 20480) === 20480 || (t & 36864) === 36864 || t == -0x7fffff87;
|
|
4299
4299
|
}
|
|
4300
4300
|
function isPropertyWithPrivateFieldKey(expr) {
|
|
4301
4301
|
return !expr.property ? false : expr.property.type === "PrivateIdentifier";
|
|
@@ -4379,28 +4379,28 @@ function scanIdentifierSlowCase(parser, context, hasEscape, isValidAsKeyword) {
|
|
|
4379
4379
|
const { length } = parser.tokenValue;
|
|
4380
4380
|
if (isValidAsKeyword && length >= 2 && length <= 11) {
|
|
4381
4381
|
const token = getOwnProperty(descKeywordTable, parser.tokenValue);
|
|
4382
|
-
if (token === void 0) return 208897 | (hasEscape ? -
|
|
4382
|
+
if (token === void 0) return 208897 | (hasEscape ? -0x80000000 : 0);
|
|
4383
4383
|
if (!hasEscape) return token;
|
|
4384
4384
|
if (token === 209006) {
|
|
4385
|
-
if ((context & 2050) === 0) return token | -
|
|
4386
|
-
return -
|
|
4385
|
+
if ((context & 2050) === 0) return token | -0x80000000;
|
|
4386
|
+
return -0x7fffff88;
|
|
4387
4387
|
}
|
|
4388
4388
|
if (context & 1) {
|
|
4389
|
-
if (token === 36970) return -
|
|
4390
|
-
if ((token & 36864) === 36864) return -
|
|
4389
|
+
if (token === 36970) return -0x7fffff87;
|
|
4390
|
+
if ((token & 36864) === 36864) return -0x7fffff87;
|
|
4391
4391
|
if ((token & 20480) === 20480) {
|
|
4392
|
-
if (context & 262144 && (context & 8) === 0) return token | -
|
|
4393
|
-
else return -
|
|
4392
|
+
if (context & 262144 && (context & 8) === 0) return token | -0x80000000;
|
|
4393
|
+
else return -0x7fffff88;
|
|
4394
4394
|
}
|
|
4395
|
-
return -
|
|
4395
|
+
return -0x7ffccf86;
|
|
4396
4396
|
}
|
|
4397
|
-
if (context & 262144 && (context & 8) === 0 && (token & 20480) === 20480) return token | -
|
|
4398
|
-
if (token === 241771) return context & 262144 ? -
|
|
4399
|
-
if (token === 209005) return -
|
|
4400
|
-
if ((token & 36864) === 36864) return token | -
|
|
4401
|
-
return -
|
|
4397
|
+
if (context & 262144 && (context & 8) === 0 && (token & 20480) === 20480) return token | -0x80000000;
|
|
4398
|
+
if (token === 241771) return context & 262144 ? -0x7ffccf86 : context & 1024 ? -0x7fffff88 : token | -0x80000000;
|
|
4399
|
+
if (token === 209005) return -0x7ffccf86;
|
|
4400
|
+
if ((token & 36864) === 36864) return token | -0x7fffd000;
|
|
4401
|
+
return -0x7fffff88;
|
|
4402
4402
|
}
|
|
4403
|
-
return 208897 | (hasEscape ? -
|
|
4403
|
+
return 208897 | (hasEscape ? -0x80000000 : 0);
|
|
4404
4404
|
}
|
|
4405
4405
|
function scanPrivateIdentifier(parser) {
|
|
4406
4406
|
let char = advanceChar(parser);
|
|
@@ -4484,12 +4484,12 @@ const TokenLookup = [
|
|
|
4484
4484
|
128,
|
|
4485
4485
|
127,
|
|
4486
4486
|
16842798,
|
|
4487
|
-
|
|
4487
|
+
0x8010003,
|
|
4488
4488
|
130,
|
|
4489
4489
|
208897,
|
|
4490
4490
|
8391477,
|
|
4491
4491
|
8390213,
|
|
4492
|
-
|
|
4492
|
+
0x8010003,
|
|
4493
4493
|
67174411,
|
|
4494
4494
|
16,
|
|
4495
4495
|
8391476,
|
|
@@ -4498,20 +4498,20 @@ const TokenLookup = [
|
|
|
4498
4498
|
25233969,
|
|
4499
4499
|
67108877,
|
|
4500
4500
|
8457014,
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4501
|
+
0x8010002,
|
|
4502
|
+
0x8010002,
|
|
4503
|
+
0x8010002,
|
|
4504
|
+
0x8010002,
|
|
4505
|
+
0x8010002,
|
|
4506
|
+
0x8010002,
|
|
4507
|
+
0x8010002,
|
|
4508
|
+
0x8010002,
|
|
4509
|
+
0x8010002,
|
|
4510
|
+
0x8010002,
|
|
4511
4511
|
21,
|
|
4512
|
-
|
|
4512
|
+
0x40100011,
|
|
4513
4513
|
8456256,
|
|
4514
|
-
|
|
4514
|
+
0x4040001b,
|
|
4515
4515
|
8390721,
|
|
4516
4516
|
22,
|
|
4517
4517
|
132,
|
|
@@ -4575,7 +4575,7 @@ const TokenLookup = [
|
|
|
4575
4575
|
4096,
|
|
4576
4576
|
2162700,
|
|
4577
4577
|
8389702,
|
|
4578
|
-
|
|
4578
|
+
0x4010000f,
|
|
4579
4579
|
16842799,
|
|
4580
4580
|
128
|
|
4581
4581
|
];
|
|
@@ -4601,11 +4601,11 @@ function scanSingleToken(parser, context, state) {
|
|
|
4601
4601
|
case 67174411:
|
|
4602
4602
|
case 16:
|
|
4603
4603
|
case 2162700:
|
|
4604
|
-
case
|
|
4604
|
+
case 0x4010000f:
|
|
4605
4605
|
case 69271571:
|
|
4606
4606
|
case 20:
|
|
4607
4607
|
case 21:
|
|
4608
|
-
case
|
|
4608
|
+
case 0x40100011:
|
|
4609
4609
|
case 18:
|
|
4610
4610
|
case 16842799:
|
|
4611
4611
|
case 132:
|
|
@@ -4614,8 +4614,8 @@ function scanSingleToken(parser, context, state) {
|
|
|
4614
4614
|
return token;
|
|
4615
4615
|
case 208897: return scanIdentifier(parser, context, 0);
|
|
4616
4616
|
case 4096: return scanIdentifier(parser, context, 1);
|
|
4617
|
-
case
|
|
4618
|
-
case
|
|
4617
|
+
case 0x8010002: return scanNumber(parser, context, 144);
|
|
4618
|
+
case 0x8010003: return scanString(parser, context, char);
|
|
4619
4619
|
case 131: return scanTemplate(parser, context);
|
|
4620
4620
|
case 136: return scanUnicodeIdentifier(parser, context);
|
|
4621
4621
|
case 130: return scanPrivateIdentifier(parser);
|
|
@@ -4657,7 +4657,7 @@ function scanSingleToken(parser, context, state) {
|
|
|
4657
4657
|
}
|
|
4658
4658
|
return 8456256;
|
|
4659
4659
|
}
|
|
4660
|
-
case
|
|
4660
|
+
case 0x4040001b: {
|
|
4661
4661
|
advanceChar(parser);
|
|
4662
4662
|
const ch = parser.currentChar;
|
|
4663
4663
|
if (ch === 61) {
|
|
@@ -4671,7 +4671,7 @@ function scanSingleToken(parser, context, state) {
|
|
|
4671
4671
|
advanceChar(parser);
|
|
4672
4672
|
return 10;
|
|
4673
4673
|
}
|
|
4674
|
-
return
|
|
4674
|
+
return 0x4040001b;
|
|
4675
4675
|
}
|
|
4676
4676
|
case 16842798:
|
|
4677
4677
|
if (advanceChar(parser) !== 61) return 16842798;
|
|
@@ -7060,7 +7060,7 @@ function scanJSXString(parser) {
|
|
|
7060
7060
|
parser.tokenValue = parser.source.slice(start, parser.index);
|
|
7061
7061
|
advanceChar(parser);
|
|
7062
7062
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
7063
|
-
return
|
|
7063
|
+
return 0x8010003;
|
|
7064
7064
|
}
|
|
7065
7065
|
function nextJSXToken(parser) {
|
|
7066
7066
|
parser.startIndex = parser.tokenIndex = parser.index;
|
|
@@ -7413,7 +7413,7 @@ function parseSource(source, rawOptions = {}, context = 0) {
|
|
|
7413
7413
|
function parseStatementList(parser, context, scope) {
|
|
7414
7414
|
nextToken(parser, context | 262176);
|
|
7415
7415
|
const statements = [];
|
|
7416
|
-
while (parser.getToken() ===
|
|
7416
|
+
while (parser.getToken() === 0x8010003) {
|
|
7417
7417
|
const { index, tokenValue, tokenStart, tokenIndex } = parser;
|
|
7418
7418
|
const token = parser.getToken();
|
|
7419
7419
|
const expr = parseLiteral(parser, context);
|
|
@@ -7430,7 +7430,7 @@ function parseStatementList(parser, context, scope) {
|
|
|
7430
7430
|
function parseModuleItemList(parser, context, scope) {
|
|
7431
7431
|
nextToken(parser, context | 32);
|
|
7432
7432
|
const statements = [];
|
|
7433
|
-
while (parser.getToken() ===
|
|
7433
|
+
while (parser.getToken() === 0x8010003) {
|
|
7434
7434
|
const { tokenStart } = parser;
|
|
7435
7435
|
const token = parser.getToken();
|
|
7436
7436
|
statements.push(parseDirective(parser, context, parseLiteral(parser, context), token, tokenStart));
|
|
@@ -7485,7 +7485,7 @@ function parseStatement(parser, context, scope, privateScope, origin, labels, al
|
|
|
7485
7485
|
case 20562: return parseDoWhileStatement(parser, context, scope, privateScope, labels);
|
|
7486
7486
|
case 20578: return parseWhileStatement(parser, context, scope, privateScope, labels);
|
|
7487
7487
|
case 86110: return parseSwitchStatement(parser, context, scope, privateScope, labels);
|
|
7488
|
-
case
|
|
7488
|
+
case 0x40100011: return parseEmptyStatement(parser, context);
|
|
7489
7489
|
case 2162700: return parseBlock(parser, context, scope?.createChildScope(), privateScope, labels, parser.tokenStart);
|
|
7490
7490
|
case 86112: return parseThrowStatement(parser, context, privateScope);
|
|
7491
7491
|
case 20555: return parseBreakStatement(parser, context, labels);
|
|
@@ -7522,8 +7522,8 @@ function parseExpressionOrLabelledStatement(parser, context, scope, privateScope
|
|
|
7522
7522
|
function parseBlock(parser, context, scope, privateScope, labels, start = parser.tokenStart, type = "BlockStatement") {
|
|
7523
7523
|
const body = [];
|
|
7524
7524
|
consume(parser, context | 32, 2162700);
|
|
7525
|
-
while (parser.getToken() !==
|
|
7526
|
-
consume(parser, context | 32,
|
|
7525
|
+
while (parser.getToken() !== 0x4010000f) body.push(parseStatementListItem(parser, context, scope, privateScope, 2, { $: labels }));
|
|
7526
|
+
consume(parser, context | 32, 0x4010000f);
|
|
7527
7527
|
return parser.finishNode({
|
|
7528
7528
|
type,
|
|
7529
7529
|
body
|
|
@@ -7592,10 +7592,10 @@ function parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, priva
|
|
|
7592
7592
|
}
|
|
7593
7593
|
function parseDirective(parser, context, expression, token, start) {
|
|
7594
7594
|
const endIndex = parser.startIndex;
|
|
7595
|
-
if (token !==
|
|
7595
|
+
if (token !== 0x40100011) {
|
|
7596
7596
|
parser.assignable = 2;
|
|
7597
7597
|
expression = parseMemberOrUpdateExpression(parser, context, void 0, expression, 0, 0, start);
|
|
7598
|
-
if (parser.getToken() !==
|
|
7598
|
+
if (parser.getToken() !== 0x40100011) {
|
|
7599
7599
|
expression = parseAssignmentExpression(parser, context, void 0, 0, 0, start, expression);
|
|
7600
7600
|
if (parser.getToken() === 18) expression = parseSequenceExpression(parser, context, void 0, 0, start, expression);
|
|
7601
7601
|
}
|
|
@@ -7658,7 +7658,7 @@ function parseSwitchStatement(parser, context, scope, privateScope, labels) {
|
|
|
7658
7658
|
const cases = [];
|
|
7659
7659
|
let seenDefault = 0;
|
|
7660
7660
|
scope = scope?.createChildScope(8);
|
|
7661
|
-
while (parser.getToken() !==
|
|
7661
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
7662
7662
|
const { tokenStart } = parser;
|
|
7663
7663
|
let test = null;
|
|
7664
7664
|
const consequent = [];
|
|
@@ -7669,14 +7669,14 @@ function parseSwitchStatement(parser, context, scope, privateScope, labels) {
|
|
|
7669
7669
|
seenDefault = 1;
|
|
7670
7670
|
}
|
|
7671
7671
|
consume(parser, context | 32, 21);
|
|
7672
|
-
while (parser.getToken() !== 20556 && parser.getToken() !==
|
|
7672
|
+
while (parser.getToken() !== 20556 && parser.getToken() !== 0x4010000f && parser.getToken() !== 20561) consequent.push(parseStatementListItem(parser, context | 4, scope, privateScope, 2, { $: labels }));
|
|
7673
7673
|
cases.push(parser.finishNode({
|
|
7674
7674
|
type: "SwitchCase",
|
|
7675
7675
|
test,
|
|
7676
7676
|
consequent
|
|
7677
7677
|
}, tokenStart));
|
|
7678
7678
|
}
|
|
7679
|
-
consume(parser, context | 32,
|
|
7679
|
+
consume(parser, context | 32, 0x4010000f);
|
|
7680
7680
|
return parser.finishNode({
|
|
7681
7681
|
type: "SwitchStatement",
|
|
7682
7682
|
discriminant,
|
|
@@ -7756,15 +7756,13 @@ function parseDebuggerStatement(parser, context) {
|
|
|
7756
7756
|
function parseTryStatement(parser, context, scope, privateScope, labels) {
|
|
7757
7757
|
const start = parser.tokenStart;
|
|
7758
7758
|
nextToken(parser, context | 32);
|
|
7759
|
-
const
|
|
7760
|
-
const block = parseBlock(parser, context, firstScope, privateScope, { $: labels });
|
|
7759
|
+
const block = parseBlock(parser, context, scope?.createChildScope(16), privateScope, { $: labels });
|
|
7761
7760
|
const { tokenStart } = parser;
|
|
7762
7761
|
const handler = consumeOpt(parser, context | 32, 20557) ? parseCatchBlock(parser, context, scope, privateScope, labels, tokenStart) : null;
|
|
7763
7762
|
let finalizer = null;
|
|
7764
7763
|
if (parser.getToken() === 20566) {
|
|
7765
7764
|
nextToken(parser, context | 32);
|
|
7766
|
-
|
|
7767
|
-
finalizer = parseBlock(parser, context, finalizerScope, privateScope, { $: labels });
|
|
7765
|
+
finalizer = parseBlock(parser, context, scope?.createChildScope(4), privateScope, { $: labels });
|
|
7768
7766
|
}
|
|
7769
7767
|
if (!handler && !finalizer) parser.report(88);
|
|
7770
7768
|
return parser.finishNode({
|
|
@@ -7781,7 +7779,7 @@ function parseCatchBlock(parser, context, scope, privateScope, labels, start) {
|
|
|
7781
7779
|
scope = scope?.createChildScope(4);
|
|
7782
7780
|
param = parseBindingPattern(parser, context, scope, privateScope, (parser.getToken() & 2097152) === 2097152 ? 256 : 512, 0);
|
|
7783
7781
|
if (parser.getToken() === 18) parser.report(86);
|
|
7784
|
-
else if (parser.getToken() ===
|
|
7782
|
+
else if (parser.getToken() === 0x4040001b) parser.report(87);
|
|
7785
7783
|
consume(parser, context | 32, 16);
|
|
7786
7784
|
}
|
|
7787
7785
|
additionalScope = scope?.createChildScope(32);
|
|
@@ -7806,7 +7804,7 @@ function parseDoWhileStatement(parser, context, scope, privateScope, labels) {
|
|
|
7806
7804
|
consume(parser, context | 32, 67174411);
|
|
7807
7805
|
const test = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
7808
7806
|
consume(parser, context | 32, 16);
|
|
7809
|
-
consumeOpt(parser, context | 32,
|
|
7807
|
+
consumeOpt(parser, context | 32, 0x40100011);
|
|
7810
7808
|
return parser.finishNode({
|
|
7811
7809
|
type: "DoWhileStatement",
|
|
7812
7810
|
body,
|
|
@@ -7878,7 +7876,7 @@ function parseVariableDeclaration(parser, context, scope, privateScope, kind, or
|
|
|
7878
7876
|
const token = parser.getToken();
|
|
7879
7877
|
let init = null;
|
|
7880
7878
|
const id = parseBindingPattern(parser, context, scope, privateScope, kind, origin);
|
|
7881
|
-
if (parser.getToken() ===
|
|
7879
|
+
if (parser.getToken() === 0x4040001b) {
|
|
7882
7880
|
nextToken(parser, context | 32);
|
|
7883
7881
|
init = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
7884
7882
|
if (origin & 32 || (token & 2097152) === 0) {
|
|
@@ -7937,7 +7935,7 @@ function parseForStatement(parser, context, scope, privateScope, labels) {
|
|
|
7937
7935
|
}, tokenStart);
|
|
7938
7936
|
parser.assignable = 1;
|
|
7939
7937
|
}
|
|
7940
|
-
} else if (token ===
|
|
7938
|
+
} else if (token === 0x40100011) {
|
|
7941
7939
|
if (forAwait) parser.report(82);
|
|
7942
7940
|
} else if ((token & 2097152) === 2097152) {
|
|
7943
7941
|
const patternStart = parser.tokenStart;
|
|
@@ -7979,13 +7977,13 @@ function parseForStatement(parser, context, scope, privateScope, labels) {
|
|
|
7979
7977
|
}
|
|
7980
7978
|
if (forAwait) parser.report(82);
|
|
7981
7979
|
if (!isVarDecl) {
|
|
7982
|
-
if (destructible & 8 && parser.getToken() !==
|
|
7980
|
+
if (destructible & 8 && parser.getToken() !== 0x4040001b) parser.report(80, "loop");
|
|
7983
7981
|
init = parseAssignmentExpression(parser, context | 131072, privateScope, 0, 0, tokenStart, init);
|
|
7984
7982
|
}
|
|
7985
7983
|
if (parser.getToken() === 18) init = parseSequenceExpression(parser, context, privateScope, 0, tokenStart, init);
|
|
7986
|
-
consume(parser, context | 32,
|
|
7987
|
-
if (parser.getToken() !==
|
|
7988
|
-
consume(parser, context | 32,
|
|
7984
|
+
consume(parser, context | 32, 0x40100011);
|
|
7985
|
+
if (parser.getToken() !== 0x40100011) test = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
7986
|
+
consume(parser, context | 32, 0x40100011);
|
|
7989
7987
|
if (parser.getToken() !== 16) update = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
7990
7988
|
consume(parser, context | 32, 16);
|
|
7991
7989
|
const body = parseIterationStatementBody(parser, context, scope, privateScope, labels);
|
|
@@ -8009,7 +8007,7 @@ function parseImportDeclaration(parser, context, scope) {
|
|
|
8009
8007
|
let source = null;
|
|
8010
8008
|
const { tokenStart } = parser;
|
|
8011
8009
|
let specifiers = [];
|
|
8012
|
-
if (parser.getToken() ===
|
|
8010
|
+
if (parser.getToken() === 0x8010003) source = parseLiteral(parser, context);
|
|
8013
8011
|
else {
|
|
8014
8012
|
if (parser.getToken() & 143360) {
|
|
8015
8013
|
const local = parseRestrictedIdentifier(parser, context, scope);
|
|
@@ -8053,7 +8051,7 @@ function parseImportNamespaceSpecifier(parser, context, scope) {
|
|
|
8053
8051
|
const { tokenStart } = parser;
|
|
8054
8052
|
nextToken(parser, context);
|
|
8055
8053
|
consume(parser, context, 77932);
|
|
8056
|
-
if ((parser.getToken() &
|
|
8054
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000) throw new ParseError(tokenStart, parser.currentLocation, 30, KeywordDescTable[parser.getToken() & 255]);
|
|
8057
8055
|
return parser.finishNode({
|
|
8058
8056
|
type: "ImportNamespaceSpecifier",
|
|
8059
8057
|
local: parseRestrictedIdentifier(parser, context, scope)
|
|
@@ -8061,18 +8059,18 @@ function parseImportNamespaceSpecifier(parser, context, scope) {
|
|
|
8061
8059
|
}
|
|
8062
8060
|
function parseModuleSpecifier(parser, context) {
|
|
8063
8061
|
consume(parser, context, 209011);
|
|
8064
|
-
if (parser.getToken() !==
|
|
8062
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Import");
|
|
8065
8063
|
return parseLiteral(parser, context);
|
|
8066
8064
|
}
|
|
8067
8065
|
function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers) {
|
|
8068
8066
|
nextToken(parser, context);
|
|
8069
|
-
while (parser.getToken() & 143360 || parser.getToken() ===
|
|
8067
|
+
while (parser.getToken() & 143360 || parser.getToken() === 0x8010003) {
|
|
8070
8068
|
let { tokenValue, tokenStart } = parser;
|
|
8071
8069
|
const token = parser.getToken();
|
|
8072
8070
|
const imported = parseModuleExportName(parser, context);
|
|
8073
8071
|
let local;
|
|
8074
8072
|
if (consumeOpt(parser, context, 77932)) {
|
|
8075
|
-
if ((parser.getToken() &
|
|
8073
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000 || parser.getToken() === 18) parser.report(106);
|
|
8076
8074
|
else validateBindingIdentifier(parser, context, 16, parser.getToken(), 0);
|
|
8077
8075
|
tokenValue = parser.tokenValue;
|
|
8078
8076
|
local = parseIdentifier(parser, context);
|
|
@@ -8086,9 +8084,9 @@ function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers)
|
|
|
8086
8084
|
local,
|
|
8087
8085
|
imported
|
|
8088
8086
|
}, tokenStart));
|
|
8089
|
-
if (parser.getToken() !==
|
|
8087
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8090
8088
|
}
|
|
8091
|
-
consume(parser, context,
|
|
8089
|
+
consume(parser, context, 0x4010000f);
|
|
8092
8090
|
return specifiers;
|
|
8093
8091
|
}
|
|
8094
8092
|
function parseImportMetaDeclaration(parser, context, start) {
|
|
@@ -8160,7 +8158,7 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8160
8158
|
exported = parseModuleExportName(parser, context);
|
|
8161
8159
|
}
|
|
8162
8160
|
consume(parser, context, 209011);
|
|
8163
|
-
if (parser.getToken() !==
|
|
8161
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Export");
|
|
8164
8162
|
source = parseLiteral(parser, context);
|
|
8165
8163
|
const attributes = parseImportAttributes(parser, context);
|
|
8166
8164
|
const node = {
|
|
@@ -8177,14 +8175,14 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8177
8175
|
const tmpExportedNames = [];
|
|
8178
8176
|
const tmpExportedBindings = [];
|
|
8179
8177
|
let hasLiteralLocal = 0;
|
|
8180
|
-
while (parser.getToken() & 143360 || parser.getToken() ===
|
|
8178
|
+
while (parser.getToken() & 143360 || parser.getToken() === 0x8010003) {
|
|
8181
8179
|
const { tokenStart, tokenValue } = parser;
|
|
8182
8180
|
const local = parseModuleExportName(parser, context);
|
|
8183
8181
|
if (local.type === "Literal") hasLiteralLocal = 1;
|
|
8184
8182
|
let exported;
|
|
8185
8183
|
if (parser.getToken() === 77932) {
|
|
8186
8184
|
nextToken(parser, context);
|
|
8187
|
-
if ((parser.getToken() & 143360) === 0 && parser.getToken() !==
|
|
8185
|
+
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== 0x8010003) parser.report(106);
|
|
8188
8186
|
if (scope) {
|
|
8189
8187
|
tmpExportedNames.push(parser.tokenValue);
|
|
8190
8188
|
tmpExportedBindings.push(tokenValue);
|
|
@@ -8202,11 +8200,11 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8202
8200
|
local,
|
|
8203
8201
|
exported
|
|
8204
8202
|
}, tokenStart));
|
|
8205
|
-
if (parser.getToken() !==
|
|
8203
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8206
8204
|
}
|
|
8207
|
-
consume(parser, context,
|
|
8205
|
+
consume(parser, context, 0x4010000f);
|
|
8208
8206
|
if (consumeOpt(parser, context, 209011)) {
|
|
8209
|
-
if (parser.getToken() !==
|
|
8207
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Export");
|
|
8210
8208
|
source = parseLiteral(parser, context);
|
|
8211
8209
|
attributes = parseImportAttributes(parser, context);
|
|
8212
8210
|
if (scope) tmpExportedNames.forEach((n) => parser.declareUnboundVariable(n));
|
|
@@ -8276,7 +8274,7 @@ function parseAssignmentExpression(parser, context, privateScope, inGroup, isPat
|
|
|
8276
8274
|
const token = parser.getToken();
|
|
8277
8275
|
if ((token & 4194304) === 4194304) {
|
|
8278
8276
|
if (parser.assignable & 2) parser.report(26);
|
|
8279
|
-
if (!isPattern && token ===
|
|
8277
|
+
if (!isPattern && token === 0x4040001b && left.type === "ArrayExpression" || left.type === "ObjectExpression") reinterpretToPattern(parser, left);
|
|
8280
8278
|
nextToken(parser, context | 32);
|
|
8281
8279
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
8282
8280
|
parser.assignable = 2;
|
|
@@ -8343,7 +8341,7 @@ function parseBinaryExpression(parser, context, privateScope, inGroup, start, mi
|
|
|
8343
8341
|
operator: KeywordDescTable[t & 255]
|
|
8344
8342
|
}, start);
|
|
8345
8343
|
}
|
|
8346
|
-
if (parser.getToken() ===
|
|
8344
|
+
if (parser.getToken() === 0x4040001b) parser.report(26);
|
|
8347
8345
|
return left;
|
|
8348
8346
|
}
|
|
8349
8347
|
function parseUnaryExpression(parser, context, privateScope, isLHS, inGroup) {
|
|
@@ -8462,8 +8460,8 @@ function parseFunctionBody(parser, context, scope, privateScope, origin, funcNam
|
|
|
8462
8460
|
const { tokenStart } = parser;
|
|
8463
8461
|
consume(parser, context | 32, 2162700);
|
|
8464
8462
|
const body = [];
|
|
8465
|
-
if (parser.getToken() !==
|
|
8466
|
-
while (parser.getToken() ===
|
|
8463
|
+
if (parser.getToken() !== 0x4010000f) {
|
|
8464
|
+
while (parser.getToken() === 0x8010003) {
|
|
8467
8465
|
const { index, tokenStart, tokenIndex, tokenValue } = parser;
|
|
8468
8466
|
const token = parser.getToken();
|
|
8469
8467
|
const expr = parseLiteral(parser, context);
|
|
@@ -8487,10 +8485,10 @@ function parseFunctionBody(parser, context, scope, privateScope, origin, funcNam
|
|
|
8487
8485
|
}
|
|
8488
8486
|
parser.flags = (parser.flags | 4928) ^ 4928;
|
|
8489
8487
|
parser.destructible = (parser.destructible | 256) ^ 256;
|
|
8490
|
-
while (parser.getToken() !==
|
|
8491
|
-
consume(parser, origin & 24 ? context | 32 : context,
|
|
8488
|
+
while (parser.getToken() !== 0x4010000f) body.push(parseStatementListItem(parser, context, scope, privateScope, 4, {}));
|
|
8489
|
+
consume(parser, origin & 24 ? context | 32 : context, 0x4010000f);
|
|
8492
8490
|
parser.flags &= -4289;
|
|
8493
|
-
if (parser.getToken() ===
|
|
8491
|
+
if (parser.getToken() === 0x4040001b) parser.report(26);
|
|
8494
8492
|
return parser.finishNode({
|
|
8495
8493
|
type: "BlockStatement",
|
|
8496
8494
|
body
|
|
@@ -8663,7 +8661,7 @@ function parseOptionalChain(parser, context, privateScope, expr, start) {
|
|
|
8663
8661
|
return node;
|
|
8664
8662
|
}
|
|
8665
8663
|
function parsePropertyOrPrivatePropertyName(parser, context, privateScope) {
|
|
8666
|
-
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== -
|
|
8664
|
+
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== -0x7fffff88 && parser.getToken() !== -0x7fffff87 && parser.getToken() !== 130) parser.report(160);
|
|
8667
8665
|
return parser.getToken() === 130 ? parsePrivateIdentifier(parser, context, privateScope, 0) : parseIdentifier(parser, context);
|
|
8668
8666
|
}
|
|
8669
8667
|
function parseUpdateExpressionPrefixed(parser, context, privateScope, inNew, isLHS, start) {
|
|
@@ -8705,7 +8703,7 @@ function parsePrimaryExpression(parser, context, privateScope, kind, inNew, canA
|
|
|
8705
8703
|
parser.assignable = context & 1 && (token & 537079808) === 537079808 ? 2 : 1;
|
|
8706
8704
|
return expr;
|
|
8707
8705
|
}
|
|
8708
|
-
if ((parser.getToken() &
|
|
8706
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000) return parseLiteral(parser, context);
|
|
8709
8707
|
switch (parser.getToken()) {
|
|
8710
8708
|
case 33619993:
|
|
8711
8709
|
case 33619994: return parseUpdateExpressionPrefixed(parser, context, privateScope, inNew, isLHS, start);
|
|
@@ -8731,7 +8729,7 @@ function parsePrimaryExpression(parser, context, privateScope, kind, inNew, canA
|
|
|
8731
8729
|
case 67174409: return parseTemplateLiteral(parser, context);
|
|
8732
8730
|
case 67174408: return parseTemplate(parser, context, privateScope);
|
|
8733
8731
|
case 86107: return parseNewExpression(parser, context, privateScope, inGroup);
|
|
8734
|
-
case
|
|
8732
|
+
case 0x801007c: return parseBigIntLiteral(parser, context);
|
|
8735
8733
|
case 130: return parsePrivateIdentifier(parser, context, privateScope, 0);
|
|
8736
8734
|
case 86106: return parseImportCallOrMetaExpression(parser, context, privateScope, inNew, inGroup, start);
|
|
8737
8735
|
case 8456256: if (parser.options.jsx) return parseJSXRootElementOrFragment(parser, context, privateScope, 0, parser.tokenStart);
|
|
@@ -8753,7 +8751,7 @@ function parseImportMetaExpression(parser, context, meta, start) {
|
|
|
8753
8751
|
nextToken(parser, context);
|
|
8754
8752
|
const token = parser.getToken();
|
|
8755
8753
|
if (token !== 209030 && parser.tokenValue !== "meta") parser.report(174);
|
|
8756
|
-
else if (token & -
|
|
8754
|
+
else if (token & -0x80000000) parser.report(175);
|
|
8757
8755
|
parser.assignable = 2;
|
|
8758
8756
|
return parser.finishNode({
|
|
8759
8757
|
type: "MetaProperty",
|
|
@@ -8784,7 +8782,7 @@ function parseImportAttributes(parser, context) {
|
|
|
8784
8782
|
consume(parser, context, 2162700);
|
|
8785
8783
|
const attributes = [];
|
|
8786
8784
|
const keysContent = /* @__PURE__ */ new Set();
|
|
8787
|
-
while (parser.getToken() !==
|
|
8785
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
8788
8786
|
const start = parser.tokenStart;
|
|
8789
8787
|
const key = parseIdentifierOrStringLiteral(parser, context);
|
|
8790
8788
|
consume(parser, context, 21);
|
|
@@ -8797,17 +8795,17 @@ function parseImportAttributes(parser, context) {
|
|
|
8797
8795
|
key,
|
|
8798
8796
|
value
|
|
8799
8797
|
}, start));
|
|
8800
|
-
if (parser.getToken() !==
|
|
8798
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8801
8799
|
}
|
|
8802
|
-
consume(parser, context,
|
|
8800
|
+
consume(parser, context, 0x4010000f);
|
|
8803
8801
|
return attributes;
|
|
8804
8802
|
}
|
|
8805
8803
|
function parseStringLiteral(parser, context) {
|
|
8806
|
-
if (parser.getToken() ===
|
|
8804
|
+
if (parser.getToken() === 0x8010003) return parseLiteral(parser, context);
|
|
8807
8805
|
else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
8808
8806
|
}
|
|
8809
8807
|
function parseIdentifierOrStringLiteral(parser, context) {
|
|
8810
|
-
if (parser.getToken() ===
|
|
8808
|
+
if (parser.getToken() === 0x8010003) return parseLiteral(parser, context);
|
|
8811
8809
|
else if (parser.getToken() & 143360) return parseIdentifier(parser, context);
|
|
8812
8810
|
else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
8813
8811
|
}
|
|
@@ -8820,7 +8818,7 @@ function validateStringWellFormed(parser, str) {
|
|
|
8820
8818
|
}
|
|
8821
8819
|
}
|
|
8822
8820
|
function parseModuleExportName(parser, context) {
|
|
8823
|
-
if (parser.getToken() ===
|
|
8821
|
+
if (parser.getToken() === 0x8010003) {
|
|
8824
8822
|
validateStringWellFormed(parser, parser.tokenValue);
|
|
8825
8823
|
return parseLiteral(parser, context);
|
|
8826
8824
|
} else if (parser.getToken() & 143360) return parseIdentifier(parser, context);
|
|
@@ -8855,13 +8853,13 @@ function parseTemplate(parser, context, privateScope) {
|
|
|
8855
8853
|
consume(parser, context & -65 | 32, 67174408);
|
|
8856
8854
|
const quasis = [parseTemplateElement(parser, tokenValue, tokenRaw, tokenStart, false)];
|
|
8857
8855
|
const expressions = [parseExpressions(parser, context & -65, privateScope, 0, 1, parser.tokenStart)];
|
|
8858
|
-
if (parser.getToken() !==
|
|
8856
|
+
if (parser.getToken() !== 0x4010000f) parser.report(83);
|
|
8859
8857
|
while (parser.setToken(scanTemplateTail(parser, context), true) !== 67174409) {
|
|
8860
8858
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
8861
8859
|
consume(parser, context & -65 | 32, 67174408);
|
|
8862
8860
|
quasis.push(parseTemplateElement(parser, tokenValue, tokenRaw, tokenStart, false));
|
|
8863
8861
|
expressions.push(parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart));
|
|
8864
|
-
if (parser.getToken() !==
|
|
8862
|
+
if (parser.getToken() !== 0x4010000f) parser.report(83);
|
|
8865
8863
|
}
|
|
8866
8864
|
{
|
|
8867
8865
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
@@ -8926,7 +8924,7 @@ function parseArguments(parser, context, privateScope, inGroup) {
|
|
|
8926
8924
|
}
|
|
8927
8925
|
function parseIdentifier(parser, context) {
|
|
8928
8926
|
const { tokenValue, tokenStart } = parser;
|
|
8929
|
-
nextToken(parser, context | (tokenValue === "await" && (parser.getToken() & -
|
|
8927
|
+
nextToken(parser, context | (tokenValue === "await" && (parser.getToken() & -0x80000000) === 0 ? 32 : 0));
|
|
8930
8928
|
return parser.finishNode({
|
|
8931
8929
|
type: "Identifier",
|
|
8932
8930
|
name: tokenValue
|
|
@@ -8934,7 +8932,7 @@ function parseIdentifier(parser, context) {
|
|
|
8934
8932
|
}
|
|
8935
8933
|
function parseLiteral(parser, context) {
|
|
8936
8934
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
8937
|
-
if (parser.getToken() ===
|
|
8935
|
+
if (parser.getToken() === 0x801007c) return parseBigIntLiteral(parser, context);
|
|
8938
8936
|
nextToken(parser, context);
|
|
8939
8937
|
parser.assignable = 2;
|
|
8940
8938
|
return parser.finishNode(parser.options.raw ? {
|
|
@@ -9054,7 +9052,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9054
9052
|
const token = parser.getToken();
|
|
9055
9053
|
if (token & 143360) {
|
|
9056
9054
|
left = parsePrimaryExpression(parser, context, privateScope, kind, 0, 1, inGroup, 1, tokenStart);
|
|
9057
|
-
if (parser.getToken() ===
|
|
9055
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9058
9056
|
if (parser.assignable & 2) parser.report(26);
|
|
9059
9057
|
nextToken(parser, context | 32);
|
|
9060
9058
|
scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
@@ -9078,9 +9076,9 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9078
9076
|
destructible |= kind & 1 ? 32 : (kind & 2) === 0 ? 16 : 0;
|
|
9079
9077
|
left = parseMemberOrUpdateExpression(parser, context, privateScope, left, inGroup, 0, tokenStart);
|
|
9080
9078
|
if (parser.getToken() !== 18 && parser.getToken() !== 20) {
|
|
9081
|
-
if (parser.getToken() !==
|
|
9079
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9082
9080
|
left = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, left);
|
|
9083
|
-
} else if (parser.getToken() !==
|
|
9081
|
+
} else if (parser.getToken() !== 0x4040001b) destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9084
9082
|
}
|
|
9085
9083
|
} else if (token & 2097152) {
|
|
9086
9084
|
left = parser.getToken() === 2162700 ? parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
@@ -9093,7 +9091,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9093
9091
|
left = parseMemberOrUpdateExpression(parser, context, privateScope, left, inGroup, 0, tokenStart);
|
|
9094
9092
|
destructible = parser.assignable & 2 ? 16 : 0;
|
|
9095
9093
|
if (parser.getToken() !== 18 && parser.getToken() !== 20) left = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, left);
|
|
9096
|
-
else if (parser.getToken() !==
|
|
9094
|
+
else if (parser.getToken() !== 0x4040001b) destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9097
9095
|
}
|
|
9098
9096
|
} else if (token === 14) {
|
|
9099
9097
|
left = parseSpreadOrRestElement(parser, context, scope, privateScope, 20, kind, origin, 0, inGroup, isPattern);
|
|
@@ -9122,7 +9120,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9122
9120
|
return node;
|
|
9123
9121
|
}
|
|
9124
9122
|
function parseArrayOrObjectAssignmentPattern(parser, context, privateScope, destructible, inGroup, isPattern, start, node) {
|
|
9125
|
-
if (parser.getToken() !==
|
|
9123
|
+
if (parser.getToken() !== 0x4040001b) parser.report(26);
|
|
9126
9124
|
nextToken(parser, context | 32);
|
|
9127
9125
|
if (destructible & 16) parser.report(26);
|
|
9128
9126
|
if (!isPattern) reinterpretToPattern(parser, node);
|
|
@@ -9153,7 +9151,7 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9153
9151
|
token = parser.getToken();
|
|
9154
9152
|
argument = parseMemberOrUpdateExpression(parser, context, privateScope, argument, inGroup, 0, tokenStart);
|
|
9155
9153
|
if (parser.getToken() !== 18 && parser.getToken() !== closingToken) {
|
|
9156
|
-
if (parser.assignable & 2 && parser.getToken() ===
|
|
9154
|
+
if (parser.assignable & 2 && parser.getToken() === 0x4040001b) parser.report(71);
|
|
9157
9155
|
destructible |= 16;
|
|
9158
9156
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9159
9157
|
}
|
|
@@ -9165,25 +9163,25 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9165
9163
|
else if (token & 2097152) {
|
|
9166
9164
|
argument = parser.getToken() === 2162700 ? parseObjectLiteralOrPattern(parser, context, scope, privateScope, 1, inGroup, isPattern, kind, origin) : parseArrayExpressionOrPattern(parser, context, scope, privateScope, 1, inGroup, isPattern, kind, origin);
|
|
9167
9165
|
token = parser.getToken();
|
|
9168
|
-
if (token !==
|
|
9166
|
+
if (token !== 0x4040001b && token !== closingToken && token !== 18) {
|
|
9169
9167
|
if (parser.destructible & 8) parser.report(71);
|
|
9170
9168
|
argument = parseMemberOrUpdateExpression(parser, context, privateScope, argument, inGroup, 0, tokenStart);
|
|
9171
9169
|
destructible |= parser.assignable & 2 ? 16 : 0;
|
|
9172
9170
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9173
|
-
if (parser.getToken() !==
|
|
9171
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9174
9172
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9175
9173
|
} else {
|
|
9176
9174
|
if ((parser.getToken() & 8388608) === 8388608) argument = parseBinaryExpression(parser, context, privateScope, 1, tokenStart, 4, token, argument);
|
|
9177
9175
|
if (consumeOpt(parser, context | 32, 22)) argument = parseConditionalExpression(parser, context, privateScope, argument, tokenStart);
|
|
9178
9176
|
destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9179
9177
|
}
|
|
9180
|
-
} else destructible |= closingToken ===
|
|
9178
|
+
} else destructible |= closingToken === 0x4010000f && token !== 0x4040001b ? 16 : parser.destructible;
|
|
9181
9179
|
} else {
|
|
9182
9180
|
destructible |= 32;
|
|
9183
9181
|
argument = parseLeftHandSideExpression(parser, context, privateScope, 1, inGroup, 1);
|
|
9184
9182
|
const { tokenStart } = parser;
|
|
9185
9183
|
const token = parser.getToken();
|
|
9186
|
-
if (token ===
|
|
9184
|
+
if (token === 0x4040001b) {
|
|
9187
9185
|
if (parser.assignable & 2) parser.report(26);
|
|
9188
9186
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9189
9187
|
destructible |= 16;
|
|
@@ -9201,7 +9199,7 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9201
9199
|
}
|
|
9202
9200
|
if (parser.getToken() !== closingToken) {
|
|
9203
9201
|
if (kind & 1) destructible |= isAsync ? 16 : 32;
|
|
9204
|
-
if (consumeOpt(parser, context | 32,
|
|
9202
|
+
if (consumeOpt(parser, context | 32, 0x4040001b)) {
|
|
9205
9203
|
if (destructible & 16) parser.report(26);
|
|
9206
9204
|
reinterpretToPattern(parser, argument);
|
|
9207
9205
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
@@ -9253,23 +9251,23 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9253
9251
|
let destructible = 0;
|
|
9254
9252
|
let prototypeCount = 0;
|
|
9255
9253
|
context = (context | 131072) ^ 131072;
|
|
9256
|
-
while (parser.getToken() !==
|
|
9254
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
9257
9255
|
const { tokenValue, tokenStart } = parser;
|
|
9258
9256
|
const token = parser.getToken();
|
|
9259
|
-
if (token === 14) properties.push(parseSpreadOrRestElement(parser, context, scope, privateScope,
|
|
9257
|
+
if (token === 14) properties.push(parseSpreadOrRestElement(parser, context, scope, privateScope, 0x4010000f, kind, origin, 0, inGroup, isPattern));
|
|
9260
9258
|
else {
|
|
9261
9259
|
let state = 0;
|
|
9262
9260
|
let key = null;
|
|
9263
9261
|
let value;
|
|
9264
|
-
if (parser.getToken() & 143360 || parser.getToken() === -
|
|
9265
|
-
if (parser.getToken() === -
|
|
9262
|
+
if (parser.getToken() & 143360 || parser.getToken() === -0x7fffff88 || parser.getToken() === -0x7fffff87) {
|
|
9263
|
+
if (parser.getToken() === -0x7fffff87) destructible |= 16;
|
|
9266
9264
|
key = parseIdentifier(parser, context);
|
|
9267
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9265
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f || parser.getToken() === 0x4040001b) {
|
|
9268
9266
|
state |= 4;
|
|
9269
9267
|
if (context & 1 && (token & 537079808) === 537079808) destructible |= 16;
|
|
9270
9268
|
else validateBindingIdentifier(parser, context, kind, token, 0);
|
|
9271
9269
|
scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
9272
|
-
if (consumeOpt(parser, context | 32,
|
|
9270
|
+
if (consumeOpt(parser, context | 32, 0x4040001b)) {
|
|
9273
9271
|
destructible |= 8;
|
|
9274
9272
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
9275
9273
|
destructible |= parser.destructible & 256 ? 256 : 0 | parser.destructible & 128 ? 128 : 0;
|
|
@@ -9279,7 +9277,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9279
9277
|
right
|
|
9280
9278
|
}, tokenStart);
|
|
9281
9279
|
} else {
|
|
9282
|
-
destructible |= (token === 209006 ? 128 : 0) | (token === -
|
|
9280
|
+
destructible |= (token === 209006 ? 128 : 0) | (token === -0x7fffff88 ? 16 : 0);
|
|
9283
9281
|
value = parser.options.uniqueKeyInPattern ? Object.assign({}, key) : key;
|
|
9284
9282
|
}
|
|
9285
9283
|
} else if (consumeOpt(parser, context | 32, 21)) {
|
|
@@ -9291,15 +9289,15 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9291
9289
|
value = parsePrimaryExpression(parser, context, privateScope, kind, 0, 1, inGroup, 1, tokenStart);
|
|
9292
9290
|
const token = parser.getToken();
|
|
9293
9291
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9294
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9295
|
-
if (token ===
|
|
9292
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9293
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9296
9294
|
destructible |= parser.destructible & 128 ? 128 : 0;
|
|
9297
9295
|
if (parser.assignable & 2) destructible |= 16;
|
|
9298
9296
|
else if ((tokenAfterColon & 143360) === 143360) scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9299
9297
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9300
9298
|
} else if ((parser.getToken() & 4194304) === 4194304) {
|
|
9301
9299
|
if (parser.assignable & 2) destructible |= 16;
|
|
9302
|
-
else if (token !==
|
|
9300
|
+
else if (token !== 0x4040001b) destructible |= 32;
|
|
9303
9301
|
else scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9304
9302
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9305
9303
|
} else {
|
|
@@ -9311,7 +9309,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9311
9309
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9312
9310
|
destructible = parser.destructible;
|
|
9313
9311
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9314
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9312
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9315
9313
|
if (parser.assignable & 2) destructible |= 16;
|
|
9316
9314
|
} else if (parser.destructible & 8) parser.report(71);
|
|
9317
9315
|
else {
|
|
@@ -9327,13 +9325,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9327
9325
|
} else {
|
|
9328
9326
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, inGroup, 1);
|
|
9329
9327
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9330
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9328
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9331
9329
|
if (parser.assignable & 2) destructible |= 16;
|
|
9332
9330
|
} else {
|
|
9333
9331
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9334
9332
|
destructible = parser.assignable & 2 ? 16 : 0;
|
|
9335
|
-
if (parser.getToken() !== 18 && token !==
|
|
9336
|
-
if (parser.getToken() !==
|
|
9333
|
+
if (parser.getToken() !== 18 && token !== 0x4010000f) {
|
|
9334
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9337
9335
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9338
9336
|
}
|
|
9339
9337
|
}
|
|
@@ -9347,7 +9345,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9347
9345
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9348
9346
|
} else if (parser.getToken() & 143360) {
|
|
9349
9347
|
destructible |= 16;
|
|
9350
|
-
if (token === -
|
|
9348
|
+
if (token === -0x7fffff88) parser.report(95);
|
|
9351
9349
|
if (token === 209005) {
|
|
9352
9350
|
if (parser.flags & 1) parser.report(132);
|
|
9353
9351
|
state |= 17;
|
|
@@ -9368,21 +9366,21 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9368
9366
|
nextToken(parser, context);
|
|
9369
9367
|
state |= 9 | (token === 209005 ? 16 : 0);
|
|
9370
9368
|
if (parser.getToken() & 143360) key = parseIdentifier(parser, context);
|
|
9371
|
-
else if ((parser.getToken() &
|
|
9369
|
+
else if ((parser.getToken() & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
9372
9370
|
else if (parser.getToken() === 69271571) {
|
|
9373
9371
|
state |= 2;
|
|
9374
9372
|
key = parseComputedPropertyName(parser, context, privateScope, inGroup);
|
|
9375
9373
|
destructible |= parser.assignable;
|
|
9376
9374
|
} else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
9377
9375
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9378
|
-
} else if ((parser.getToken() &
|
|
9376
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9379
9377
|
if (token === 209005) state |= 16;
|
|
9380
9378
|
state |= token === 209008 ? 256 : token === 209009 ? 512 : 1;
|
|
9381
9379
|
destructible |= 16;
|
|
9382
9380
|
key = parseLiteral(parser, context);
|
|
9383
9381
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9384
9382
|
} else parser.report(133);
|
|
9385
|
-
} else if ((parser.getToken() &
|
|
9383
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9386
9384
|
key = parseLiteral(parser, context);
|
|
9387
9385
|
if (parser.getToken() === 21) {
|
|
9388
9386
|
consume(parser, context | 32, 21);
|
|
@@ -9393,12 +9391,12 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9393
9391
|
const { tokenValue: valueAfterColon } = parser;
|
|
9394
9392
|
const token = parser.getToken();
|
|
9395
9393
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9396
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9397
|
-
if (token ===
|
|
9394
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9395
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9398
9396
|
if (parser.assignable & 2) destructible |= 16;
|
|
9399
9397
|
else scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9400
9398
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9401
|
-
} else if (parser.getToken() ===
|
|
9399
|
+
} else if (parser.getToken() === 0x4040001b) {
|
|
9402
9400
|
if (parser.assignable & 2) destructible |= 16;
|
|
9403
9401
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9404
9402
|
} else {
|
|
@@ -9409,7 +9407,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9409
9407
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9410
9408
|
destructible = parser.destructible;
|
|
9411
9409
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9412
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9410
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9413
9411
|
if (parser.assignable & 2) destructible |= 16;
|
|
9414
9412
|
} else if ((parser.destructible & 8) !== 8) {
|
|
9415
9413
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
@@ -9424,13 +9422,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9424
9422
|
} else {
|
|
9425
9423
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, 0, 1);
|
|
9426
9424
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9427
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9425
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9428
9426
|
if (parser.assignable & 2) destructible |= 16;
|
|
9429
9427
|
} else {
|
|
9430
9428
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9431
9429
|
destructible = parser.assignable & 1 ? 0 : 16;
|
|
9432
|
-
if (parser.getToken() !== 18 && parser.getToken() !==
|
|
9433
|
-
if (parser.getToken() !==
|
|
9430
|
+
if (parser.getToken() !== 18 && parser.getToken() !== 0x4010000f) {
|
|
9431
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9434
9432
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9435
9433
|
}
|
|
9436
9434
|
}
|
|
@@ -9453,10 +9451,10 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9453
9451
|
const token = parser.getToken();
|
|
9454
9452
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9455
9453
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9456
|
-
destructible |= parser.assignable & 2 ? 16 : token ===
|
|
9454
|
+
destructible |= parser.assignable & 2 ? 16 : token === 0x4040001b ? 0 : 32;
|
|
9457
9455
|
value = parseAssignmentExpressionOrPattern(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9458
|
-
} else if (parser.getToken() === 18 || parser.getToken() ===
|
|
9459
|
-
if (token ===
|
|
9456
|
+
} else if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9457
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9460
9458
|
if (parser.assignable & 2) destructible |= 16;
|
|
9461
9459
|
else if ((tokenAfterColon & 143360) === 143360) scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
9462
9460
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
@@ -9468,14 +9466,14 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9468
9466
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9469
9467
|
destructible = parser.destructible;
|
|
9470
9468
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9471
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9469
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9472
9470
|
if (parser.assignable & 2) destructible |= 16;
|
|
9473
9471
|
} else if (destructible & 8) parser.report(62);
|
|
9474
9472
|
else {
|
|
9475
9473
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9476
9474
|
destructible = parser.assignable & 2 ? destructible | 16 : 0;
|
|
9477
9475
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9478
|
-
if (parser.getToken() !==
|
|
9476
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9479
9477
|
value = parseAssignmentExpressionOrPattern(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9480
9478
|
} else {
|
|
9481
9479
|
if ((parser.getToken() & 8388608) === 8388608) value = parseBinaryExpression(parser, context, privateScope, 1, tokenStart, 4, token, value);
|
|
@@ -9486,13 +9484,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9486
9484
|
} else {
|
|
9487
9485
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, 0, 1);
|
|
9488
9486
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9489
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9487
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9490
9488
|
if (parser.assignable & 2) destructible |= 16;
|
|
9491
9489
|
} else {
|
|
9492
9490
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9493
9491
|
destructible = parser.assignable & 1 ? 0 : 16;
|
|
9494
|
-
if (parser.getToken() !== 18 && parser.getToken() !==
|
|
9495
|
-
if (parser.getToken() !==
|
|
9492
|
+
if (parser.getToken() !== 18 && parser.getToken() !== 0x4010000f) {
|
|
9493
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9496
9494
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9497
9495
|
}
|
|
9498
9496
|
}
|
|
@@ -9513,7 +9511,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9513
9511
|
destructible |= 16;
|
|
9514
9512
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9515
9513
|
} else throw new ParseError(parser.tokenStart, parser.currentLocation, token === 209005 ? 46 : token === 209008 || parser.getToken() === 209009 ? 45 : 47, KeywordDescTable[token & 255]);
|
|
9516
|
-
} else if ((parser.getToken() &
|
|
9514
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9517
9515
|
destructible |= 16;
|
|
9518
9516
|
key = parseLiteral(parser, context);
|
|
9519
9517
|
state |= 1;
|
|
@@ -9541,7 +9539,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9541
9539
|
if (parser.getToken() !== 18) break;
|
|
9542
9540
|
nextToken(parser, context);
|
|
9543
9541
|
}
|
|
9544
|
-
consume(parser, context,
|
|
9542
|
+
consume(parser, context, 0x4010000f);
|
|
9545
9543
|
if (prototypeCount > 1) destructible |= 64;
|
|
9546
9544
|
const node = parser.finishNode({
|
|
9547
9545
|
type: isPattern ? "ObjectPattern" : "ObjectExpression",
|
|
@@ -9581,7 +9579,7 @@ function parseMethodFormals(parser, context, scope, privateScope, kind, type, in
|
|
|
9581
9579
|
isNonSimpleParameterList = 1;
|
|
9582
9580
|
if (parser.destructible & 48) parser.report(50);
|
|
9583
9581
|
}
|
|
9584
|
-
if (parser.getToken() ===
|
|
9582
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9585
9583
|
nextToken(parser, context | 32);
|
|
9586
9584
|
isNonSimpleParameterList = 1;
|
|
9587
9585
|
const right = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
@@ -9638,7 +9636,7 @@ function parseParenthesizedExpression(parser, context, privateScope, canAssign,
|
|
|
9638
9636
|
isNonSimpleParameterList = 1;
|
|
9639
9637
|
}
|
|
9640
9638
|
} else {
|
|
9641
|
-
if (parser.getToken() ===
|
|
9639
|
+
if (parser.getToken() === 0x4040001b) isNonSimpleParameterList = 1;
|
|
9642
9640
|
else destructible |= 16;
|
|
9643
9641
|
expr = parseMemberOrUpdateExpression(parser, context, privateScope, expr, 1, 0, tokenStart);
|
|
9644
9642
|
if (parser.getToken() !== 16 && parser.getToken() !== 18) expr = parseAssignmentExpression(parser, context, privateScope, 1, 0, tokenStart, expr);
|
|
@@ -9815,7 +9813,7 @@ function parseFormalParametersOrFormalList(parser, context, scope, privateScope,
|
|
|
9815
9813
|
isNonSimpleParameterList = 1;
|
|
9816
9814
|
if (parser.destructible & 48) parser.report(50);
|
|
9817
9815
|
}
|
|
9818
|
-
if (parser.getToken() ===
|
|
9816
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9819
9817
|
nextToken(parser, context | 32);
|
|
9820
9818
|
isNonSimpleParameterList = 1;
|
|
9821
9819
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
@@ -9946,7 +9944,7 @@ function parseAsyncArrowOrCallExpression(parser, context, privateScope, callee,
|
|
|
9946
9944
|
isNonSimpleParameterList = 1;
|
|
9947
9945
|
}
|
|
9948
9946
|
} else {
|
|
9949
|
-
if (parser.getToken() ===
|
|
9947
|
+
if (parser.getToken() === 0x4040001b) isNonSimpleParameterList = 1;
|
|
9950
9948
|
else destructible |= 16;
|
|
9951
9949
|
expr = parseMemberOrUpdateExpression(parser, context, privateScope, expr, 1, 0, tokenStart);
|
|
9952
9950
|
if (parser.getToken() !== 16 && parser.getToken() !== 18) expr = parseAssignmentExpression(parser, context, privateScope, 1, 0, tokenStart, expr);
|
|
@@ -10109,18 +10107,18 @@ function parseClassBody(parser, context, inheritedContext, scope, parentScope, k
|
|
|
10109
10107
|
const hasConstr = parser.flags & 32;
|
|
10110
10108
|
parser.flags = (parser.flags | 32) ^ 32;
|
|
10111
10109
|
const body = [];
|
|
10112
|
-
while (parser.getToken() !==
|
|
10110
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
10113
10111
|
const decoratorStart = parser.tokenStart;
|
|
10114
10112
|
const decorators = parseDecorators(parser, context, privateScope);
|
|
10115
10113
|
if (decorators.length > 0 && parser.tokenValue === "constructor") parser.report(109);
|
|
10116
|
-
if (parser.getToken() ===
|
|
10117
|
-
if (consumeOpt(parser, context,
|
|
10114
|
+
if (parser.getToken() === 0x4010000f) parser.report(108);
|
|
10115
|
+
if (consumeOpt(parser, context, 0x40100011)) {
|
|
10118
10116
|
if (decorators.length > 0) parser.report(120);
|
|
10119
10117
|
continue;
|
|
10120
10118
|
}
|
|
10121
10119
|
body.push(parseClassElementList(parser, context, scope, privateScope, inheritedContext, kind, decorators, 0, inGroup, decorators.length > 0 ? decoratorStart : parser.tokenStart));
|
|
10122
10120
|
}
|
|
10123
|
-
consume(parser, origin & 8 ? context | 32 : context,
|
|
10121
|
+
consume(parser, origin & 8 ? context | 32 : context, 0x4010000f);
|
|
10124
10122
|
privateScope?.validatePrivateIdentifierRefs();
|
|
10125
10123
|
parser.flags = parser.flags & -33 | hasConstr;
|
|
10126
10124
|
return parser.finishNode({
|
|
@@ -10132,54 +10130,54 @@ function parseClassElementList(parser, context, scope, privateScope, inheritedCo
|
|
|
10132
10130
|
let kind = isStatic ? 32 : 0;
|
|
10133
10131
|
let key = null;
|
|
10134
10132
|
const token = parser.getToken();
|
|
10135
|
-
if (token & 176128 || token === -
|
|
10133
|
+
if (token & 176128 || token === -0x7fffff88) {
|
|
10136
10134
|
key = parseIdentifier(parser, context);
|
|
10137
10135
|
switch (token) {
|
|
10138
10136
|
case 36970:
|
|
10139
|
-
if (!isStatic && parser.getToken() !== 67174411 && (parser.getToken() & 1048576) !== 1048576 && parser.getToken() !==
|
|
10137
|
+
if (!isStatic && parser.getToken() !== 67174411 && (parser.getToken() & 1048576) !== 1048576 && parser.getToken() !== 0x4040001b) return parseClassElementList(parser, context, scope, privateScope, inheritedContext, type, decorators, 1, inGroup, start);
|
|
10140
10138
|
break;
|
|
10141
10139
|
case 209005:
|
|
10142
10140
|
if (parser.getToken() !== 67174411 && (parser.flags & 1) === 0) {
|
|
10143
|
-
if ((parser.getToken() &
|
|
10141
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10144
10142
|
kind |= 16 | (optionalBit(parser, context, 8391476) ? 8 : 0);
|
|
10145
10143
|
}
|
|
10146
10144
|
break;
|
|
10147
10145
|
case 209008:
|
|
10148
10146
|
if (parser.getToken() !== 67174411) {
|
|
10149
|
-
if ((parser.getToken() &
|
|
10147
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10150
10148
|
kind |= 256;
|
|
10151
10149
|
}
|
|
10152
10150
|
break;
|
|
10153
10151
|
case 209009:
|
|
10154
10152
|
if (parser.getToken() !== 67174411) {
|
|
10155
|
-
if ((parser.getToken() &
|
|
10153
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10156
10154
|
kind |= 512;
|
|
10157
10155
|
}
|
|
10158
10156
|
break;
|
|
10159
10157
|
case 12402: if (parser.getToken() !== 67174411 && (parser.flags & 1) === 0) {
|
|
10160
|
-
if ((parser.getToken() &
|
|
10158
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10161
10159
|
if (parser.options.next) kind |= 1024;
|
|
10162
10160
|
}
|
|
10163
10161
|
}
|
|
10164
10162
|
} else if (token === 69271571) {
|
|
10165
10163
|
kind |= 2;
|
|
10166
10164
|
key = parseComputedPropertyName(parser, inheritedContext, privateScope, inGroup);
|
|
10167
|
-
} else if ((token &
|
|
10165
|
+
} else if ((token & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
10168
10166
|
else if (token === 8391476) {
|
|
10169
10167
|
kind |= 8;
|
|
10170
10168
|
nextToken(parser, context);
|
|
10171
10169
|
} else if (parser.getToken() === 130) {
|
|
10172
10170
|
kind |= 8192;
|
|
10173
10171
|
key = parsePrivateIdentifier(parser, context | 16, privateScope, 768);
|
|
10174
|
-
} else if ((parser.getToken() &
|
|
10172
|
+
} else if ((parser.getToken() & 0x40000000) === 0x40000000) kind |= 128;
|
|
10175
10173
|
else if (isStatic && token === 2162700) return parseStaticBlock(parser, context | 16, scope, privateScope, start);
|
|
10176
|
-
else if (token === -
|
|
10174
|
+
else if (token === -0x7fffff87) {
|
|
10177
10175
|
key = parseIdentifier(parser, context);
|
|
10178
10176
|
if (parser.getToken() !== 67174411) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10179
10177
|
} else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10180
10178
|
if (kind & 1816) {
|
|
10181
|
-
if (parser.getToken() & 143360 || parser.getToken() === -
|
|
10182
|
-
else if ((parser.getToken() &
|
|
10179
|
+
if (parser.getToken() & 143360 || parser.getToken() === -0x7fffff88 || parser.getToken() === -0x7fffff87) key = parseIdentifier(parser, context);
|
|
10180
|
+
else if ((parser.getToken() & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
10183
10181
|
else if (parser.getToken() === 69271571) {
|
|
10184
10182
|
kind |= 2;
|
|
10185
10183
|
key = parseComputedPropertyName(parser, context, privateScope, 0);
|
|
@@ -10190,7 +10188,7 @@ function parseClassElementList(parser, context, scope, privateScope, inheritedCo
|
|
|
10190
10188
|
}
|
|
10191
10189
|
if ((kind & 2) === 0) {
|
|
10192
10190
|
if (parser.tokenValue === "constructor") {
|
|
10193
|
-
if ((parser.getToken() &
|
|
10191
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) parser.report(129);
|
|
10194
10192
|
else if ((kind & 32) === 0 && parser.getToken() === 67174411) {
|
|
10195
10193
|
if (kind & 920) parser.report(53, "accessor");
|
|
10196
10194
|
else if ((context & 512) === 0) {
|
|
@@ -10232,14 +10230,14 @@ function parsePrivateIdentifier(parser, context, privateScope, kind) {
|
|
|
10232
10230
|
function parsePropertyDefinition(parser, context, privateScope, key, state, decorators, start) {
|
|
10233
10231
|
let value = null;
|
|
10234
10232
|
if (state & 8) parser.report(0);
|
|
10235
|
-
if (parser.getToken() ===
|
|
10233
|
+
if (parser.getToken() === 0x4040001b) {
|
|
10236
10234
|
nextToken(parser, context | 32);
|
|
10237
10235
|
const { tokenStart } = parser;
|
|
10238
10236
|
if (parser.getToken() === 537079927) parser.report(119);
|
|
10239
10237
|
const modifierFlags = 11264 | ((state & 64) === 0 ? 16896 : 0);
|
|
10240
10238
|
context = (context | modifierFlags) ^ modifierFlags | (state & 8 ? 1024 : 0) | (state & 16 ? 2048 : 0) | (state & 64 ? 16384 : 0) | 65792;
|
|
10241
10239
|
value = parsePrimaryExpression(parser, context | 16, privateScope, 2, 0, 1, 0, 1, tokenStart);
|
|
10242
|
-
if ((parser.getToken() &
|
|
10240
|
+
if ((parser.getToken() & 0x40000000) !== 0x40000000 || (parser.getToken() & 4194304) === 4194304) {
|
|
10243
10241
|
value = parseMemberOrUpdateExpression(parser, context | 16, privateScope, value, 0, 0, tokenStart);
|
|
10244
10242
|
value = parseAssignmentExpression(parser, context | 16, privateScope, 0, 0, tokenStart, value);
|
|
10245
10243
|
}
|
|
@@ -10255,7 +10253,7 @@ function parsePropertyDefinition(parser, context, privateScope, key, state, deco
|
|
|
10255
10253
|
}, start);
|
|
10256
10254
|
}
|
|
10257
10255
|
function parseBindingPattern(parser, context, scope, privateScope, type, origin) {
|
|
10258
|
-
if (parser.getToken() & 143360 || (context & 1) === 0 && parser.getToken() === -
|
|
10256
|
+
if (parser.getToken() & 143360 || (context & 1) === 0 && parser.getToken() === -0x7fffff87) return parseAndClassifyIdentifier(parser, context, scope, type, origin);
|
|
10259
10257
|
if ((parser.getToken() & 2097152) !== 2097152) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10260
10258
|
const left = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 1, 0, 1, type, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 1, 0, 1, type, origin);
|
|
10261
10259
|
if (parser.destructible & 16) parser.report(50);
|
|
@@ -10266,7 +10264,7 @@ function parseAndClassifyIdentifier(parser, context, scope, kind, origin) {
|
|
|
10266
10264
|
const token = parser.getToken();
|
|
10267
10265
|
if (context & 1) {
|
|
10268
10266
|
if ((token & 537079808) === 537079808) parser.report(119);
|
|
10269
|
-
else if ((token & 36864) === 36864 || token === -
|
|
10267
|
+
else if ((token & 36864) === 36864 || token === -0x7fffff87) parser.report(118);
|
|
10270
10268
|
}
|
|
10271
10269
|
if ((token & 20480) === 20480) parser.report(102);
|
|
10272
10270
|
if (token === 241771) {
|
|
@@ -10431,7 +10429,7 @@ function parseJSXSpreadAttribute(parser, context, privateScope) {
|
|
|
10431
10429
|
nextToken(parser, context);
|
|
10432
10430
|
consume(parser, context, 14);
|
|
10433
10431
|
const expression = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
10434
|
-
consume(parser, context,
|
|
10432
|
+
consume(parser, context, 0x4010000f);
|
|
10435
10433
|
return parser.finishNode({
|
|
10436
10434
|
type: "JSXSpreadAttribute",
|
|
10437
10435
|
argument: expression
|
|
@@ -10444,8 +10442,8 @@ function parseJsxAttribute(parser, context, privateScope) {
|
|
|
10444
10442
|
let value = null;
|
|
10445
10443
|
let name = parseJSXIdentifier(parser, context);
|
|
10446
10444
|
if (parser.getToken() === 21) name = parseJSXNamespacedName(parser, context, name, tokenStart);
|
|
10447
|
-
if (parser.getToken() ===
|
|
10448
|
-
case
|
|
10445
|
+
if (parser.getToken() === 0x4040001b) switch (scanJSXAttributeValue(parser, context)) {
|
|
10446
|
+
case 0x8010003:
|
|
10449
10447
|
value = parseLiteral(parser, context);
|
|
10450
10448
|
break;
|
|
10451
10449
|
case 8456256:
|
|
@@ -10477,7 +10475,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10477
10475
|
const { tokenStart } = parser;
|
|
10478
10476
|
if (parser.getToken() === 14) return parseJSXSpreadChild(parser, context, privateScope, start);
|
|
10479
10477
|
let expression = null;
|
|
10480
|
-
if (parser.getToken() ===
|
|
10478
|
+
if (parser.getToken() === 0x4010000f) {
|
|
10481
10479
|
if (isAttr) parser.report(157);
|
|
10482
10480
|
expression = parseJSXEmptyExpression(parser, {
|
|
10483
10481
|
index: parser.startIndex,
|
|
@@ -10485,7 +10483,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10485
10483
|
column: parser.startColumn
|
|
10486
10484
|
});
|
|
10487
10485
|
} else expression = parseExpression(parser, context, privateScope, 1, 0, tokenStart);
|
|
10488
|
-
if (parser.getToken() !==
|
|
10486
|
+
if (parser.getToken() !== 0x4010000f) parser.report(25, KeywordDescTable[15]);
|
|
10489
10487
|
if (inJSXChild) nextJSXToken(parser);
|
|
10490
10488
|
else nextToken(parser, context);
|
|
10491
10489
|
return parser.finishNode({
|
|
@@ -10496,7 +10494,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10496
10494
|
function parseJSXSpreadChild(parser, context, privateScope, start) {
|
|
10497
10495
|
consume(parser, context, 14);
|
|
10498
10496
|
const expression = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
10499
|
-
consume(parser, context,
|
|
10497
|
+
consume(parser, context, 0x4010000f);
|
|
10500
10498
|
return parser.finishNode({
|
|
10501
10499
|
type: "JSXSpreadChild",
|
|
10502
10500
|
expression
|