@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,6 +1,6 @@
|
|
|
1
1
|
const require_registration_only = require("./registration-only.js");
|
|
2
2
|
let _sentry_core = require("@sentry/core");
|
|
3
|
-
// \0@oxc-project+runtime@0.
|
|
3
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/typeof.js
|
|
4
4
|
function _typeof(o) {
|
|
5
5
|
"@babel/helpers - typeof";
|
|
6
6
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -9,7 +9,7 @@ function _typeof(o) {
|
|
|
9
9
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
10
|
}, _typeof(o);
|
|
11
11
|
}
|
|
12
|
-
// \0@oxc-project+runtime@0.
|
|
12
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/toPrimitive.js
|
|
13
13
|
function toPrimitive(t, e) {
|
|
14
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
15
|
var r;
|
|
@@ -20,12 +20,12 @@ function toPrimitive(t, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return ("string" === e ? String : Number)(t);
|
|
22
22
|
}
|
|
23
|
-
// \0@oxc-project+runtime@0.
|
|
23
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/toPropertyKey.js
|
|
24
24
|
function toPropertyKey(t) {
|
|
25
25
|
var i = toPrimitive(t, "string");
|
|
26
26
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
27
27
|
}
|
|
28
|
-
// \0@oxc-project+runtime@0.
|
|
28
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/defineProperty.js
|
|
29
29
|
function _defineProperty(e, r, t) {
|
|
30
30
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
31
31
|
value: t,
|
|
@@ -75,9 +75,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
75
75
|
0,
|
|
76
76
|
3,
|
|
77
77
|
0,
|
|
78
|
-
|
|
78
|
+
0xbcdfffff,
|
|
79
79
|
0,
|
|
80
|
-
|
|
80
|
+
0xffffd7c0,
|
|
81
81
|
2,
|
|
82
82
|
1,
|
|
83
83
|
2,
|
|
@@ -88,7 +88,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
88
88
|
0,
|
|
89
89
|
4,
|
|
90
90
|
0,
|
|
91
|
-
|
|
91
|
+
0xfffffcfb,
|
|
92
92
|
3,
|
|
93
93
|
0,
|
|
94
94
|
4,
|
|
@@ -99,33 +99,33 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
99
99
|
2,
|
|
100
100
|
0,
|
|
101
101
|
0,
|
|
102
|
-
|
|
102
|
+
0xfffe01ff,
|
|
103
103
|
0,
|
|
104
|
-
|
|
104
|
+
0xbfffffff,
|
|
105
105
|
0,
|
|
106
|
-
|
|
106
|
+
0xffff00b6,
|
|
107
107
|
2,
|
|
108
108
|
66,
|
|
109
109
|
0,
|
|
110
|
-
|
|
110
|
+
0x7ff0000,
|
|
111
111
|
3,
|
|
112
112
|
0,
|
|
113
113
|
2,
|
|
114
114
|
0,
|
|
115
|
-
|
|
115
|
+
0xffffc3ff,
|
|
116
116
|
3,
|
|
117
117
|
0,
|
|
118
118
|
2,
|
|
119
119
|
0,
|
|
120
|
-
|
|
120
|
+
0x9fefffff,
|
|
121
121
|
0,
|
|
122
|
-
|
|
122
|
+
0x9ffffdff,
|
|
123
123
|
2,
|
|
124
124
|
18,
|
|
125
125
|
2,
|
|
126
126
|
0,
|
|
127
127
|
0,
|
|
128
|
-
|
|
128
|
+
0xffffe7ff,
|
|
129
129
|
3,
|
|
130
130
|
0,
|
|
131
131
|
2,
|
|
@@ -144,7 +144,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
144
144
|
2,
|
|
145
145
|
6,
|
|
146
146
|
0,
|
|
147
|
-
|
|
147
|
+
0xff807eff,
|
|
148
148
|
3,
|
|
149
149
|
0,
|
|
150
150
|
2,
|
|
@@ -154,43 +154,43 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
154
154
|
0,
|
|
155
155
|
3,
|
|
156
156
|
0,
|
|
157
|
-
|
|
157
|
+
0xfffeffcf,
|
|
158
158
|
2,
|
|
159
159
|
40,
|
|
160
160
|
0,
|
|
161
|
-
|
|
161
|
+
0xf3c5fdff,
|
|
162
162
|
0,
|
|
163
|
-
|
|
163
|
+
0xb080799f,
|
|
164
164
|
0,
|
|
165
|
-
|
|
165
|
+
0x5003ffcf,
|
|
166
166
|
0,
|
|
167
|
-
|
|
167
|
+
0xfff987ee,
|
|
168
168
|
0,
|
|
169
|
-
|
|
169
|
+
0xd36dfdff,
|
|
170
170
|
0,
|
|
171
|
-
|
|
171
|
+
0x5e023987,
|
|
172
172
|
0,
|
|
173
173
|
4194240,
|
|
174
174
|
0,
|
|
175
|
-
|
|
175
|
+
0xfffbbfee,
|
|
176
176
|
2,
|
|
177
177
|
2,
|
|
178
178
|
0,
|
|
179
179
|
80831,
|
|
180
180
|
0,
|
|
181
|
-
|
|
181
|
+
0xfe00ffcf,
|
|
182
182
|
0,
|
|
183
|
-
|
|
183
|
+
0xfff99fee,
|
|
184
184
|
2,
|
|
185
185
|
2,
|
|
186
186
|
0,
|
|
187
|
-
|
|
187
|
+
0xb0e0399f,
|
|
188
188
|
0,
|
|
189
189
|
196559,
|
|
190
190
|
0,
|
|
191
|
-
|
|
191
|
+
0xd63dc7ec,
|
|
192
192
|
0,
|
|
193
|
-
|
|
193
|
+
0xc3ffc718,
|
|
194
194
|
0,
|
|
195
195
|
8469959,
|
|
196
196
|
0,
|
|
@@ -198,17 +198,17 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
198
198
|
2,
|
|
199
199
|
3,
|
|
200
200
|
0,
|
|
201
|
-
|
|
201
|
+
0xf3fffdff,
|
|
202
202
|
0,
|
|
203
203
|
660618719,
|
|
204
204
|
0,
|
|
205
205
|
65487,
|
|
206
206
|
0,
|
|
207
|
-
|
|
207
|
+
0xfffddfef,
|
|
208
208
|
0,
|
|
209
|
-
|
|
209
|
+
0xf3effdff,
|
|
210
210
|
0,
|
|
211
|
-
|
|
211
|
+
0x60603ddf,
|
|
212
212
|
0,
|
|
213
213
|
982991,
|
|
214
214
|
2,
|
|
@@ -216,15 +216,15 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
216
216
|
2,
|
|
217
217
|
0,
|
|
218
218
|
0,
|
|
219
|
-
|
|
219
|
+
0x80f07ddf,
|
|
220
220
|
0,
|
|
221
|
-
|
|
221
|
+
0xfc00ffcf,
|
|
222
222
|
0,
|
|
223
|
-
|
|
223
|
+
0xfc7fffee,
|
|
224
224
|
2,
|
|
225
225
|
71,
|
|
226
226
|
0,
|
|
227
|
-
|
|
227
|
+
0xff5f847f,
|
|
228
228
|
0,
|
|
229
229
|
851904,
|
|
230
230
|
2,
|
|
@@ -237,20 +237,20 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
237
237
|
2,
|
|
238
238
|
72,
|
|
239
239
|
0,
|
|
240
|
-
|
|
240
|
+
0x3fffffaf,
|
|
241
241
|
0,
|
|
242
|
-
|
|
242
|
+
0xf3ff7f5f,
|
|
243
243
|
-1,
|
|
244
244
|
0,
|
|
245
245
|
50331649,
|
|
246
246
|
0,
|
|
247
|
-
|
|
247
|
+
0xc2a003ff,
|
|
248
248
|
2,
|
|
249
249
|
33,
|
|
250
250
|
0,
|
|
251
|
-
|
|
251
|
+
0xfffe1fff,
|
|
252
252
|
0,
|
|
253
|
-
|
|
253
|
+
0xfeffffdf,
|
|
254
254
|
2,
|
|
255
255
|
20,
|
|
256
256
|
2,
|
|
@@ -316,7 +316,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
316
316
|
2,
|
|
317
317
|
80,
|
|
318
318
|
0,
|
|
319
|
-
|
|
319
|
+
0x803fffff,
|
|
320
320
|
2,
|
|
321
321
|
29,
|
|
322
322
|
2,
|
|
@@ -348,7 +348,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
348
348
|
2,
|
|
349
349
|
8,
|
|
350
350
|
0,
|
|
351
|
-
|
|
351
|
+
0xfff0fff,
|
|
352
352
|
2,
|
|
353
353
|
110,
|
|
354
354
|
2,
|
|
@@ -358,7 +358,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
358
358
|
2,
|
|
359
359
|
81,
|
|
360
360
|
0,
|
|
361
|
-
|
|
361
|
+
0x7ff03ff,
|
|
362
362
|
-1,
|
|
363
363
|
2,
|
|
364
364
|
7,
|
|
@@ -367,11 +367,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
367
367
|
2,
|
|
368
368
|
8,
|
|
369
369
|
0,
|
|
370
|
-
|
|
370
|
+
0x9fffffff,
|
|
371
371
|
0,
|
|
372
372
|
67044351,
|
|
373
373
|
0,
|
|
374
|
-
|
|
374
|
+
0xbfff0080,
|
|
375
375
|
2,
|
|
376
376
|
17,
|
|
377
377
|
-1,
|
|
@@ -381,7 +381,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
381
381
|
2,
|
|
382
382
|
53,
|
|
383
383
|
0,
|
|
384
|
-
|
|
384
|
+
0xff800,
|
|
385
385
|
3,
|
|
386
386
|
0,
|
|
387
387
|
3,
|
|
@@ -392,7 +392,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
392
392
|
2,
|
|
393
393
|
54,
|
|
394
394
|
0,
|
|
395
|
-
|
|
395
|
+
0xffffe3ff,
|
|
396
396
|
2,
|
|
397
397
|
10,
|
|
398
398
|
2,
|
|
@@ -400,7 +400,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
400
400
|
2,
|
|
401
401
|
11,
|
|
402
402
|
0,
|
|
403
|
-
|
|
403
|
+
0xfff70000,
|
|
404
404
|
2,
|
|
405
405
|
12,
|
|
406
406
|
3,
|
|
@@ -452,7 +452,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
452
452
|
0,
|
|
453
453
|
7,
|
|
454
454
|
0,
|
|
455
|
-
|
|
455
|
+
0xff81f,
|
|
456
456
|
2,
|
|
457
457
|
0,
|
|
458
458
|
2,
|
|
@@ -460,7 +460,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
460
460
|
2,
|
|
461
461
|
0,
|
|
462
462
|
0,
|
|
463
|
-
|
|
463
|
+
0x800080ff,
|
|
464
464
|
2,
|
|
465
465
|
21,
|
|
466
466
|
3,
|
|
@@ -478,7 +478,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
478
478
|
2,
|
|
479
479
|
0,
|
|
480
480
|
0,
|
|
481
|
-
|
|
481
|
+
0xfe7fffff,
|
|
482
482
|
2,
|
|
483
483
|
4,
|
|
484
484
|
3,
|
|
@@ -523,7 +523,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
523
523
|
2,
|
|
524
524
|
0,
|
|
525
525
|
0,
|
|
526
|
-
|
|
526
|
+
0xbff0ffff,
|
|
527
527
|
3,
|
|
528
528
|
0,
|
|
529
529
|
3,
|
|
@@ -558,7 +558,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
558
558
|
0,
|
|
559
559
|
67043391,
|
|
560
560
|
0,
|
|
561
|
-
|
|
561
|
+
0xe8ffffff,
|
|
562
562
|
2,
|
|
563
563
|
0,
|
|
564
564
|
2,
|
|
@@ -581,7 +581,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
581
581
|
0,
|
|
582
582
|
67059711,
|
|
583
583
|
0,
|
|
584
|
-
|
|
584
|
+
0xfc7fffff,
|
|
585
585
|
3,
|
|
586
586
|
0,
|
|
587
587
|
2,
|
|
@@ -624,7 +624,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
624
624
|
32,
|
|
625
625
|
-1,
|
|
626
626
|
0,
|
|
627
|
-
|
|
627
|
+
0xe0f8007f,
|
|
628
628
|
2,
|
|
629
629
|
105,
|
|
630
630
|
2,
|
|
@@ -790,9 +790,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
790
790
|
39,
|
|
791
791
|
-2,
|
|
792
792
|
0,
|
|
793
|
-
|
|
793
|
+
0xfeeff06f,
|
|
794
794
|
0,
|
|
795
|
-
|
|
795
|
+
0x873fffff,
|
|
796
796
|
-1,
|
|
797
797
|
3,
|
|
798
798
|
20,
|
|
@@ -833,7 +833,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
833
833
|
2,
|
|
834
834
|
0,
|
|
835
835
|
0,
|
|
836
|
-
|
|
836
|
+
0xffffbe3f,
|
|
837
837
|
2,
|
|
838
838
|
37,
|
|
839
839
|
-7,
|
|
@@ -844,7 +844,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
844
844
|
2,
|
|
845
845
|
57,
|
|
846
846
|
0,
|
|
847
|
-
|
|
847
|
+
0xf0000000,
|
|
848
848
|
2,
|
|
849
849
|
20,
|
|
850
850
|
2,
|
|
@@ -867,13 +867,13 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
867
867
|
2,
|
|
868
868
|
38,
|
|
869
869
|
0,
|
|
870
|
-
|
|
870
|
+
0x803fffc0,
|
|
871
871
|
2,
|
|
872
872
|
0,
|
|
873
873
|
2,
|
|
874
874
|
12,
|
|
875
875
|
0,
|
|
876
|
-
|
|
876
|
+
0xffff0004,
|
|
877
877
|
2,
|
|
878
878
|
144,
|
|
879
879
|
2,
|
|
@@ -908,9 +908,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
908
908
|
2,
|
|
909
909
|
40,
|
|
910
910
|
0,
|
|
911
|
-
|
|
911
|
+
0xfbedfdff,
|
|
912
912
|
0,
|
|
913
|
-
|
|
913
|
+
0xe081399f,
|
|
914
914
|
0,
|
|
915
915
|
2039759,
|
|
916
916
|
2,
|
|
@@ -918,14 +918,14 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
918
918
|
2,
|
|
919
919
|
41,
|
|
920
920
|
0,
|
|
921
|
-
|
|
921
|
+
0xff7a5,
|
|
922
922
|
0,
|
|
923
923
|
6,
|
|
924
924
|
3,
|
|
925
925
|
0,
|
|
926
926
|
2,
|
|
927
927
|
0,
|
|
928
|
-
|
|
928
|
+
0xc3ff07ff,
|
|
929
929
|
0,
|
|
930
930
|
3,
|
|
931
931
|
3,
|
|
@@ -937,9 +937,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
937
937
|
2,
|
|
938
938
|
0,
|
|
939
939
|
0,
|
|
940
|
-
|
|
940
|
+
0xff3fffff,
|
|
941
941
|
0,
|
|
942
|
-
|
|
942
|
+
0x3f000001,
|
|
943
943
|
-1,
|
|
944
944
|
3,
|
|
945
945
|
0,
|
|
@@ -971,18 +971,18 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
971
971
|
0,
|
|
972
972
|
2,
|
|
973
973
|
0,
|
|
974
|
-
|
|
974
|
+
0x800003ff,
|
|
975
975
|
2,
|
|
976
976
|
134,
|
|
977
977
|
0,
|
|
978
|
-
|
|
978
|
+
0xf9bfffff,
|
|
979
979
|
2,
|
|
980
980
|
52,
|
|
981
981
|
-2,
|
|
982
982
|
2,
|
|
983
983
|
135,
|
|
984
984
|
0,
|
|
985
|
-
|
|
985
|
+
0xfcffffff,
|
|
986
986
|
0,
|
|
987
987
|
27,
|
|
988
988
|
2,
|
|
@@ -1022,7 +1022,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1022
1022
|
2,
|
|
1023
1023
|
136,
|
|
1024
1024
|
0,
|
|
1025
|
-
|
|
1025
|
+
0xb47fffff,
|
|
1026
1026
|
2,
|
|
1027
1027
|
48,
|
|
1028
1028
|
2,
|
|
@@ -1035,11 +1035,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1035
1035
|
2,
|
|
1036
1036
|
21,
|
|
1037
1037
|
0,
|
|
1038
|
-
|
|
1038
|
+
0xfffdffff,
|
|
1039
1039
|
0,
|
|
1040
|
-
|
|
1040
|
+
0xc7ffffff,
|
|
1041
1041
|
0,
|
|
1042
|
-
|
|
1042
|
+
0x7ff0007,
|
|
1043
1043
|
-2,
|
|
1044
1044
|
2,
|
|
1045
1045
|
69,
|
|
@@ -1132,11 +1132,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1132
1132
|
0,
|
|
1133
1133
|
2,
|
|
1134
1134
|
0,
|
|
1135
|
-
|
|
1135
|
+
0xffff87ff,
|
|
1136
1136
|
2,
|
|
1137
1137
|
0,
|
|
1138
1138
|
0,
|
|
1139
|
-
|
|
1139
|
+
0xffff80ff,
|
|
1140
1140
|
-2,
|
|
1141
1141
|
0,
|
|
1142
1142
|
196635,
|
|
@@ -1178,7 +1178,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1178
1178
|
2,
|
|
1179
1179
|
143,
|
|
1180
1180
|
0,
|
|
1181
|
-
|
|
1181
|
+
0x63ff01ff,
|
|
1182
1182
|
-130,
|
|
1183
1183
|
2,
|
|
1184
1184
|
26,
|
|
@@ -1191,7 +1191,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1191
1191
|
38,
|
|
1192
1192
|
-16,
|
|
1193
1193
|
0,
|
|
1194
|
-
|
|
1194
|
+
0xf807e3e0,
|
|
1195
1195
|
0,
|
|
1196
1196
|
4071,
|
|
1197
1197
|
0,
|
|
@@ -1240,7 +1240,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1240
1240
|
59,
|
|
1241
1241
|
2,
|
|
1242
1242
|
0,
|
|
1243
|
-
|
|
1243
|
+
0xffffcff7,
|
|
1244
1244
|
2,
|
|
1245
1245
|
0,
|
|
1246
1246
|
-16,
|
|
@@ -1253,7 +1253,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1253
1253
|
0,
|
|
1254
1254
|
2105343,
|
|
1255
1255
|
0,
|
|
1256
|
-
|
|
1256
|
+
0xf8000010,
|
|
1257
1257
|
0,
|
|
1258
1258
|
65534,
|
|
1259
1259
|
-34,
|
|
@@ -1263,9 +1263,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1263
1263
|
154,
|
|
1264
1264
|
-6,
|
|
1265
1265
|
0,
|
|
1266
|
-
|
|
1266
|
+
0xf9ffff7f,
|
|
1267
1267
|
0,
|
|
1268
|
-
|
|
1268
|
+
0xffff07db,
|
|
1269
1269
|
2,
|
|
1270
1270
|
0,
|
|
1271
1271
|
2,
|
|
@@ -1276,7 +1276,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1276
1276
|
2,
|
|
1277
1277
|
0,
|
|
1278
1278
|
0,
|
|
1279
|
-
|
|
1279
|
+
0x3fff1fff,
|
|
1280
1280
|
0,
|
|
1281
1281
|
17407,
|
|
1282
1282
|
-9,
|
|
@@ -1400,9 +1400,9 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1400
1400
|
64,
|
|
1401
1401
|
-3,
|
|
1402
1402
|
0,
|
|
1403
|
-
|
|
1403
|
+
0xbcdf0000,
|
|
1404
1404
|
0,
|
|
1405
|
-
|
|
1405
|
+
0xffffd740,
|
|
1406
1406
|
2,
|
|
1407
1407
|
1,
|
|
1408
1408
|
2,
|
|
@@ -1413,7 +1413,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1413
1413
|
0,
|
|
1414
1414
|
4,
|
|
1415
1415
|
0,
|
|
1416
|
-
|
|
1416
|
+
0xfffffc03,
|
|
1417
1417
|
3,
|
|
1418
1418
|
0,
|
|
1419
1419
|
4,
|
|
@@ -1436,16 +1436,16 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1436
1436
|
0,
|
|
1437
1437
|
2047,
|
|
1438
1438
|
0,
|
|
1439
|
-
|
|
1439
|
+
0xfffec000,
|
|
1440
1440
|
3,
|
|
1441
1441
|
0,
|
|
1442
1442
|
2,
|
|
1443
1443
|
0,
|
|
1444
1444
|
3145727,
|
|
1445
1445
|
0,
|
|
1446
|
-
|
|
1446
|
+
0x9c00c060,
|
|
1447
1447
|
0,
|
|
1448
|
-
|
|
1448
|
+
0xfffd0000,
|
|
1449
1449
|
2,
|
|
1450
1450
|
25,
|
|
1451
1451
|
2,
|
|
@@ -1479,27 +1479,27 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1479
1479
|
2,
|
|
1480
1480
|
68,
|
|
1481
1481
|
0,
|
|
1482
|
-
|
|
1482
|
+
0xff010000,
|
|
1483
1483
|
0,
|
|
1484
|
-
|
|
1484
|
+
0xfffe0003,
|
|
1485
1485
|
0,
|
|
1486
|
-
|
|
1486
|
+
0xfff99fe1,
|
|
1487
1487
|
0,
|
|
1488
1488
|
600178175,
|
|
1489
1489
|
0,
|
|
1490
|
-
|
|
1490
|
+
0xb0004000,
|
|
1491
1491
|
0,
|
|
1492
1492
|
268632067,
|
|
1493
1493
|
0,
|
|
1494
|
-
|
|
1494
|
+
0xfff987e0,
|
|
1495
1495
|
0,
|
|
1496
1496
|
57540095,
|
|
1497
1497
|
0,
|
|
1498
|
-
|
|
1498
|
+
0x5e000000,
|
|
1499
1499
|
0,
|
|
1500
1500
|
1835008,
|
|
1501
1501
|
0,
|
|
1502
|
-
|
|
1502
|
+
0xfffbbfe0,
|
|
1503
1503
|
2,
|
|
1504
1504
|
70,
|
|
1505
1505
|
2,
|
|
@@ -1511,11 +1511,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1511
1511
|
2,
|
|
1512
1512
|
70,
|
|
1513
1513
|
0,
|
|
1514
|
-
|
|
1514
|
+
0xb0000000,
|
|
1515
1515
|
0,
|
|
1516
1516
|
131075,
|
|
1517
1517
|
0,
|
|
1518
|
-
|
|
1518
|
+
0xd63dc7e8,
|
|
1519
1519
|
0,
|
|
1520
1520
|
67094296,
|
|
1521
1521
|
2,
|
|
@@ -1530,23 +1530,23 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1530
1530
|
0,
|
|
1531
1531
|
3,
|
|
1532
1532
|
0,
|
|
1533
|
-
|
|
1533
|
+
0xfffddfe1,
|
|
1534
1534
|
0,
|
|
1535
1535
|
602930687,
|
|
1536
1536
|
0,
|
|
1537
|
-
|
|
1537
|
+
0x60000000,
|
|
1538
1538
|
0,
|
|
1539
1539
|
393219,
|
|
1540
1540
|
0,
|
|
1541
|
-
|
|
1541
|
+
0xfffddff0,
|
|
1542
1542
|
0,
|
|
1543
1543
|
671088639,
|
|
1544
1544
|
0,
|
|
1545
|
-
|
|
1545
|
+
0x80704000,
|
|
1546
1546
|
0,
|
|
1547
|
-
|
|
1547
|
+
0xfc000003,
|
|
1548
1548
|
0,
|
|
1549
|
-
|
|
1549
|
+
0xfc7fffe0,
|
|
1550
1550
|
2,
|
|
1551
1551
|
71,
|
|
1552
1552
|
2,
|
|
@@ -1564,7 +1564,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1564
1564
|
0,
|
|
1565
1565
|
537788335,
|
|
1566
1566
|
0,
|
|
1567
|
-
|
|
1567
|
+
0xf000005f,
|
|
1568
1568
|
-1,
|
|
1569
1569
|
0,
|
|
1570
1570
|
1,
|
|
@@ -1579,11 +1579,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1579
1579
|
2,
|
|
1580
1580
|
0,
|
|
1581
1581
|
0,
|
|
1582
|
-
|
|
1582
|
+
0x800007ff,
|
|
1583
1583
|
0,
|
|
1584
|
-
|
|
1584
|
+
0x3c3f0000,
|
|
1585
1585
|
0,
|
|
1586
|
-
|
|
1586
|
+
0xffe1c062,
|
|
1587
1587
|
0,
|
|
1588
1588
|
16387,
|
|
1589
1589
|
2,
|
|
@@ -1636,7 +1636,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1636
1636
|
2,
|
|
1637
1637
|
80,
|
|
1638
1638
|
0,
|
|
1639
|
-
|
|
1639
|
+
0x8003ffff,
|
|
1640
1640
|
3,
|
|
1641
1641
|
19,
|
|
1642
1642
|
2,
|
|
@@ -1657,7 +1657,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1657
1657
|
2,
|
|
1658
1658
|
0,
|
|
1659
1659
|
0,
|
|
1660
|
-
|
|
1660
|
+
0xffff05ff,
|
|
1661
1661
|
2,
|
|
1662
1662
|
0,
|
|
1663
1663
|
2,
|
|
@@ -1696,7 +1696,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1696
1696
|
2,
|
|
1697
1697
|
127,
|
|
1698
1698
|
0,
|
|
1699
|
-
|
|
1699
|
+
0xfc00c001,
|
|
1700
1700
|
2,
|
|
1701
1701
|
0,
|
|
1702
1702
|
2,
|
|
@@ -1706,7 +1706,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1706
1706
|
2,
|
|
1707
1707
|
50,
|
|
1708
1708
|
0,
|
|
1709
|
-
|
|
1709
|
+
0xfc00e000,
|
|
1710
1710
|
2,
|
|
1711
1711
|
10,
|
|
1712
1712
|
2,
|
|
@@ -1830,7 +1830,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1830
1830
|
2,
|
|
1831
1831
|
0,
|
|
1832
1832
|
0,
|
|
1833
|
-
|
|
1833
|
+
0x80007fff,
|
|
1834
1834
|
2,
|
|
1835
1835
|
10,
|
|
1836
1836
|
3,
|
|
@@ -1854,7 +1854,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1854
1854
|
2,
|
|
1855
1855
|
46,
|
|
1856
1856
|
0,
|
|
1857
|
-
|
|
1857
|
+
0xfffff7bb,
|
|
1858
1858
|
0,
|
|
1859
1859
|
7,
|
|
1860
1860
|
2,
|
|
@@ -1867,11 +1867,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1867
1867
|
9,
|
|
1868
1868
|
-1,
|
|
1869
1869
|
0,
|
|
1870
|
-
|
|
1870
|
+
0x68fc0000,
|
|
1871
1871
|
2,
|
|
1872
1872
|
98,
|
|
1873
1873
|
0,
|
|
1874
|
-
|
|
1874
|
+
0xffff003f,
|
|
1875
1875
|
2,
|
|
1876
1876
|
38,
|
|
1877
1877
|
2,
|
|
@@ -1883,7 +1883,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1883
1883
|
2,
|
|
1884
1884
|
100,
|
|
1885
1885
|
0,
|
|
1886
|
-
|
|
1886
|
+
0x7c00ffdf,
|
|
1887
1887
|
2,
|
|
1888
1888
|
0,
|
|
1889
1889
|
2,
|
|
@@ -1891,11 +1891,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1891
1891
|
2,
|
|
1892
1892
|
153,
|
|
1893
1893
|
0,
|
|
1894
|
-
|
|
1894
|
+
0xc47fffff,
|
|
1895
1895
|
2,
|
|
1896
1896
|
0,
|
|
1897
1897
|
0,
|
|
1898
|
-
|
|
1898
|
+
0x3e62ffff,
|
|
1899
1899
|
0,
|
|
1900
1900
|
939524101,
|
|
1901
1901
|
0,
|
|
@@ -1935,7 +1935,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
1935
1935
|
32,
|
|
1936
1936
|
-1,
|
|
1937
1937
|
0,
|
|
1938
|
-
|
|
1938
|
+
0xa0f8007f,
|
|
1939
1939
|
2,
|
|
1940
1940
|
105,
|
|
1941
1941
|
2,
|
|
@@ -2090,7 +2090,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2090
2090
|
39,
|
|
2091
2091
|
-2,
|
|
2092
2092
|
0,
|
|
2093
|
-
|
|
2093
|
+
0xfeef0001,
|
|
2094
2094
|
2,
|
|
2095
2095
|
30,
|
|
2096
2096
|
-1,
|
|
@@ -2133,7 +2133,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2133
2133
|
2,
|
|
2134
2134
|
98,
|
|
2135
2135
|
0,
|
|
2136
|
-
|
|
2136
|
+
0xffff803f,
|
|
2137
2137
|
2,
|
|
2138
2138
|
37,
|
|
2139
2139
|
-7,
|
|
@@ -2180,7 +2180,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2180
2180
|
2,
|
|
2181
2181
|
38,
|
|
2182
2182
|
0,
|
|
2183
|
-
|
|
2183
|
+
0xffff0090,
|
|
2184
2184
|
0,
|
|
2185
2185
|
4718591,
|
|
2186
2186
|
2,
|
|
@@ -2193,7 +2193,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2193
2193
|
2,
|
|
2194
2194
|
128,
|
|
2195
2195
|
0,
|
|
2196
|
-
|
|
2196
|
+
0x80000fff,
|
|
2197
2197
|
0,
|
|
2198
2198
|
1,
|
|
2199
2199
|
-1,
|
|
@@ -2209,13 +2209,13 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2209
2209
|
2,
|
|
2210
2210
|
70,
|
|
2211
2211
|
0,
|
|
2212
|
-
|
|
2212
|
+
0xe0010000,
|
|
2213
2213
|
0,
|
|
2214
2214
|
3,
|
|
2215
2215
|
2,
|
|
2216
2216
|
132,
|
|
2217
2217
|
0,
|
|
2218
|
-
|
|
2218
|
+
0xbfffff,
|
|
2219
2219
|
0,
|
|
2220
2220
|
655360,
|
|
2221
2221
|
-1,
|
|
@@ -2224,7 +2224,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2224
2224
|
2,
|
|
2225
2225
|
29,
|
|
2226
2226
|
0,
|
|
2227
|
-
|
|
2227
|
+
0x80000780,
|
|
2228
2228
|
0,
|
|
2229
2229
|
3,
|
|
2230
2230
|
2,
|
|
@@ -2239,7 +2239,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2239
2239
|
2,
|
|
2240
2240
|
17,
|
|
2241
2241
|
0,
|
|
2242
|
-
|
|
2242
|
+
0xf000000,
|
|
2243
2243
|
-1,
|
|
2244
2244
|
2,
|
|
2245
2245
|
0,
|
|
@@ -2272,7 +2272,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2272
2272
|
2,
|
|
2273
2273
|
134,
|
|
2274
2274
|
0,
|
|
2275
|
-
|
|
2275
|
+
0x8000ffff,
|
|
2276
2276
|
0,
|
|
2277
2277
|
2,
|
|
2278
2278
|
-2,
|
|
@@ -2283,11 +2283,11 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2283
2283
|
0,
|
|
2284
2284
|
10,
|
|
2285
2285
|
0,
|
|
2286
|
-
|
|
2286
|
+
0xfffff801,
|
|
2287
2287
|
0,
|
|
2288
2288
|
67633151,
|
|
2289
2289
|
0,
|
|
2290
|
-
|
|
2290
|
+
0xf0010000,
|
|
2291
2291
|
2,
|
|
2292
2292
|
0,
|
|
2293
2293
|
0,
|
|
@@ -2328,7 +2328,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2328
2328
|
2,
|
|
2329
2329
|
35,
|
|
2330
2330
|
0,
|
|
2331
|
-
|
|
2331
|
+
0xfffdfff4,
|
|
2332
2332
|
2,
|
|
2333
2333
|
9,
|
|
2334
2334
|
-3,
|
|
@@ -2525,7 +2525,7 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2525
2525
|
2,
|
|
2526
2526
|
0,
|
|
2527
2527
|
0,
|
|
2528
|
-
|
|
2528
|
+
0x3f801fff,
|
|
2529
2529
|
0,
|
|
2530
2530
|
16384,
|
|
2531
2531
|
-9,
|
|
@@ -2623,171 +2623,171 @@ const unicodeLookup = ((compressed, lookup) => {
|
|
|
2623
2623
|
25,
|
|
2624
2624
|
-28386
|
|
2625
2625
|
], [
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2626
|
+
0xffffffff,
|
|
2627
|
+
0xfffffffb,
|
|
2628
|
+
0xf3edfdff,
|
|
2629
|
+
0xfffddfff,
|
|
2630
|
+
0xfffffffe,
|
|
2631
|
+
0x7fffffe,
|
|
2632
|
+
0xffff07ff,
|
|
2633
|
+
0xfffffff,
|
|
2634
|
+
0x7fffffff,
|
|
2635
|
+
0xfffff,
|
|
2636
|
+
0x3fffffff,
|
|
2637
|
+
0xe7ffffff,
|
|
2638
|
+
0x7ffffff,
|
|
2639
|
+
0x3f3fffff,
|
|
2640
2640
|
536805376,
|
|
2641
|
-
|
|
2642
|
-
|
|
2641
|
+
0xffff20bf,
|
|
2642
|
+
0xfffeffff,
|
|
2643
2643
|
32767,
|
|
2644
|
-
|
|
2644
|
+
0xffff0000,
|
|
2645
2645
|
262143,
|
|
2646
2646
|
536870911,
|
|
2647
2647
|
8388607,
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2648
|
+
0xf7ffffff,
|
|
2649
|
+
0xffff03ff,
|
|
2650
|
+
0xffff3fff,
|
|
2651
2651
|
65535,
|
|
2652
2652
|
67043328,
|
|
2653
|
-
|
|
2654
|
-
|
|
2653
|
+
0x87fffffe,
|
|
2654
|
+
0xffffffe0,
|
|
2655
2655
|
2097151,
|
|
2656
2656
|
4194303,
|
|
2657
2657
|
255,
|
|
2658
2658
|
67108863,
|
|
2659
|
-
|
|
2659
|
+
0xfffffeff,
|
|
2660
2660
|
511,
|
|
2661
2661
|
524287,
|
|
2662
2662
|
131071,
|
|
2663
2663
|
63,
|
|
2664
2664
|
127,
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2665
|
+
0xc0ffffff,
|
|
2666
|
+
0xfff99fef,
|
|
2667
|
+
0xffbfffff,
|
|
2668
2668
|
33554431,
|
|
2669
|
-
|
|
2670
|
-
|
|
2669
|
+
0xffff0080,
|
|
2670
|
+
0xff7fffff,
|
|
2671
2671
|
67043329,
|
|
2672
|
-
|
|
2673
|
-
|
|
2672
|
+
0xfffc0000,
|
|
2673
|
+
0xfffcffff,
|
|
2674
2674
|
67043583,
|
|
2675
2675
|
1023,
|
|
2676
2676
|
15,
|
|
2677
2677
|
2047999,
|
|
2678
2678
|
67043343,
|
|
2679
2679
|
67051519,
|
|
2680
|
-
|
|
2681
|
-
|
|
2680
|
+
0xffffff,
|
|
2681
|
+
0x80000000,
|
|
2682
2682
|
4294902e3,
|
|
2683
2683
|
28,
|
|
2684
|
-
|
|
2685
|
-
|
|
2684
|
+
0xffdfffff,
|
|
2685
|
+
0xfffffdff,
|
|
2686
2686
|
16383,
|
|
2687
2687
|
67047423,
|
|
2688
|
-
|
|
2688
|
+
0xffffffef,
|
|
2689
2689
|
262083,
|
|
2690
2690
|
20511,
|
|
2691
2691
|
41943039,
|
|
2692
2692
|
493567,
|
|
2693
|
-
|
|
2693
|
+
0xffffe000,
|
|
2694
2694
|
603979775,
|
|
2695
2695
|
65536,
|
|
2696
2696
|
602799615,
|
|
2697
2697
|
805044223,
|
|
2698
|
-
|
|
2698
|
+
0xfffff7d6,
|
|
2699
2699
|
8191,
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2700
|
+
0x3d7f3dff,
|
|
2701
|
+
0xffff3dff,
|
|
2702
|
+
0x7f3dffff,
|
|
2703
|
+
0xff7fff3d,
|
|
2704
|
+
0xff3dffff,
|
|
2705
|
+
0xffff9fff,
|
|
2706
2706
|
33540095,
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2707
|
+
0xffff0fff,
|
|
2708
|
+
0xaaff3f3f,
|
|
2709
|
+
0x5fdfffff,
|
|
2710
|
+
0xfcf1fdc,
|
|
2711
2711
|
534519807,
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2712
|
+
0x80020000,
|
|
2713
|
+
0x3f2ffc84,
|
|
2714
|
+
0xf3fffd50,
|
|
2715
2715
|
17376,
|
|
2716
|
-
|
|
2716
|
+
0x7f7f7f7f,
|
|
2717
2717
|
224,
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2718
|
+
0xf87fffff,
|
|
2719
|
+
0xffff1fff,
|
|
2720
|
+
0xff800000,
|
|
2721
|
+
0xfffffffc,
|
|
2722
|
+
0xfffff9ff,
|
|
2723
2723
|
535511039,
|
|
2724
|
-
|
|
2725
|
-
|
|
2724
|
+
0xfffffc00,
|
|
2725
|
+
0xfffffff0,
|
|
2726
2726
|
32768,
|
|
2727
2727
|
8289918,
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2728
|
+
0xffff7f7f,
|
|
2729
|
+
0xffff000f,
|
|
2730
|
+
0xfffff87f,
|
|
2731
|
+
0x5f7ffdff,
|
|
2732
|
+
0xffffffdb,
|
|
2733
|
+
0xfff80000,
|
|
2734
|
+
0xfff0000,
|
|
2735
|
+
0xffdf0000,
|
|
2736
|
+
0xffffffc0,
|
|
2737
2737
|
486341884,
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2738
|
+
0xffffefff,
|
|
2739
|
+
0xb7ffff7f,
|
|
2740
|
+
0x3fff3fff,
|
|
2741
2741
|
4128527,
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2742
|
+
0xff0fffff,
|
|
2743
|
+
0xffff00ff,
|
|
2744
|
+
0xf7ff000f,
|
|
2745
|
+
0xffb7f7ff,
|
|
2746
2746
|
469499899,
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2747
|
+
0xffffffbf,
|
|
2748
|
+
0x7fdffff,
|
|
2749
|
+
0xfffffd3f,
|
|
2750
|
+
0x91bfffff,
|
|
2751
2751
|
3670015,
|
|
2752
2752
|
31,
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2753
|
+
0xfffffff8,
|
|
2754
|
+
0xfffbffff,
|
|
2755
|
+
0xbfffbd7f,
|
|
2756
|
+
0xffff01ff,
|
|
2757
|
+
0xfff99fe0,
|
|
2758
|
+
0xffff4bff,
|
|
2759
2759
|
4095,
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2760
|
+
0xff6ff27f,
|
|
2761
|
+
0xfffffcff,
|
|
2762
|
+
0xfffffb7f,
|
|
2763
2763
|
64,
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2764
|
+
0xfffffdbf,
|
|
2765
|
+
0xe0fffff8,
|
|
2766
|
+
0x6fef0000,
|
|
2767
2767
|
262151,
|
|
2768
2768
|
2555904,
|
|
2769
2769
|
536807423,
|
|
2770
2770
|
67043839,
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2771
|
+
0xdfffffff,
|
|
2772
|
+
0xebffde64,
|
|
2773
|
+
0xdfdfe7bf,
|
|
2774
|
+
0x7bffffff,
|
|
2775
|
+
0xfffdfc5f,
|
|
2776
|
+
0xffffff3f,
|
|
2777
|
+
0xf7fffffd,
|
|
2778
|
+
0xffff7fff,
|
|
2779
2779
|
4087,
|
|
2780
2780
|
2016,
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2781
|
+
0x7fff6f7f,
|
|
2782
|
+
0xaf7fe96,
|
|
2783
|
+
0xaa96ea84,
|
|
2784
|
+
0x5ef7f796,
|
|
2785
|
+
0xffffbff,
|
|
2786
|
+
0xffffbee,
|
|
2787
|
+
0xffff0003,
|
|
2788
|
+
0xffff0001
|
|
2789
2789
|
]);
|
|
2790
|
-
const isIDContinue = (code) => (unicodeLookup[
|
|
2790
|
+
const isIDContinue = (code) => (unicodeLookup[code >>> 5] >>> code & 1) !== 0;
|
|
2791
2791
|
const isIDStart = (code) => (unicodeLookup[(code >>> 5) + 34816] >>> code & 1) !== 0;
|
|
2792
2792
|
function advanceChar(parser) {
|
|
2793
2793
|
parser.column++;
|
|
@@ -2822,8 +2822,8 @@ function toHex(code) {
|
|
|
2822
2822
|
}
|
|
2823
2823
|
function convertTokenType(t) {
|
|
2824
2824
|
switch (t) {
|
|
2825
|
-
case
|
|
2826
|
-
case
|
|
2825
|
+
case 0x8010002: return "NumericLiteral";
|
|
2826
|
+
case 0x8010003: return "StringLiteral";
|
|
2827
2827
|
case 86021:
|
|
2828
2828
|
case 86022: return "BooleanLiteral";
|
|
2829
2829
|
case 86023: return "NullLiteral";
|
|
@@ -3452,7 +3452,7 @@ function scanString(parser, context, quote) {
|
|
|
3452
3452
|
advanceChar(parser);
|
|
3453
3453
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(start, parser.index);
|
|
3454
3454
|
parser.tokenValue = ret;
|
|
3455
|
-
return
|
|
3455
|
+
return 0x8010003;
|
|
3456
3456
|
}
|
|
3457
3457
|
if ((char & 8) === 8 && char === 92) {
|
|
3458
3458
|
ret += parser.source.slice(marker, parser.index);
|
|
@@ -3984,7 +3984,7 @@ function scanNumber(parser, context, kind) {
|
|
|
3984
3984
|
if (digit >= 0 && !isIdentifierStart(char) && char !== 46) {
|
|
3985
3985
|
parser.tokenValue = value;
|
|
3986
3986
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
3987
|
-
return
|
|
3987
|
+
return 0x8010002;
|
|
3988
3988
|
}
|
|
3989
3989
|
}
|
|
3990
3990
|
value += scanDecimalDigitsOrSeparator(parser, char);
|
|
@@ -4014,11 +4014,11 @@ function scanNumber(parser, context, kind) {
|
|
|
4014
4014
|
if (isBigInt) {
|
|
4015
4015
|
parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
4016
4016
|
parser.tokenValue = BigInt(parser.tokenRaw.slice(0, -1).replaceAll("_", ""));
|
|
4017
|
-
return
|
|
4017
|
+
return 0x801007c;
|
|
4018
4018
|
}
|
|
4019
4019
|
parser.tokenValue = kind & 15 ? value : kind & 32 ? parseFloat(parser.source.substring(parser.tokenIndex, parser.index)) : +value;
|
|
4020
4020
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
4021
|
-
return
|
|
4021
|
+
return 0x8010002;
|
|
4022
4022
|
}
|
|
4023
4023
|
function scanDecimalDigitsOrSeparator(parser, char) {
|
|
4024
4024
|
let allowSeparator = 0;
|
|
@@ -4250,7 +4250,7 @@ const descKeywordTable = {
|
|
|
4250
4250
|
};
|
|
4251
4251
|
function matchOrInsertSemicolon(parser, context) {
|
|
4252
4252
|
if ((parser.flags & 1) === 0 && (parser.getToken() & 1048576) !== 1048576) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
4253
|
-
if (!consumeOpt(parser, context,
|
|
4253
|
+
if (!consumeOpt(parser, context, 0x40100011)) parser.options.onInsertedSemicolon?.(parser.startIndex);
|
|
4254
4254
|
}
|
|
4255
4255
|
function isValidStrictMode(parser, index, tokenIndex, tokenValue) {
|
|
4256
4256
|
if (index - tokenIndex < 13 && tokenValue === "use strict") {
|
|
@@ -4308,7 +4308,7 @@ function validateBindingIdentifier(parser, context, kind, t, skipEvalArgCheck) {
|
|
|
4308
4308
|
if ((t & 36864) === 36864) parser.report(118);
|
|
4309
4309
|
if (!skipEvalArgCheck && (t & 537079808) === 537079808) parser.report(119);
|
|
4310
4310
|
}
|
|
4311
|
-
if ((t & 20480) === 20480 || t === -
|
|
4311
|
+
if ((t & 20480) === 20480 || t === -0x7fffff88) parser.report(102);
|
|
4312
4312
|
if (kind & 24 && (t & 255) === 73) parser.report(100);
|
|
4313
4313
|
if (context & 2050 && t === 209006) parser.report(110);
|
|
4314
4314
|
if (context & 1025 && t === 241771) parser.report(97, "yield");
|
|
@@ -4317,8 +4317,8 @@ function validateFunctionName(parser, context, t) {
|
|
|
4317
4317
|
if (context & 1) {
|
|
4318
4318
|
if ((t & 36864) === 36864) parser.report(118);
|
|
4319
4319
|
if ((t & 537079808) === 537079808) parser.report(119);
|
|
4320
|
-
if (t === -
|
|
4321
|
-
if (t === -
|
|
4320
|
+
if (t === -0x7fffff87) parser.report(95);
|
|
4321
|
+
if (t === -0x7fffff88) parser.report(95);
|
|
4322
4322
|
}
|
|
4323
4323
|
if ((t & 20480) === 20480) parser.report(102);
|
|
4324
4324
|
if (context & 2050 && t === 209006) parser.report(110);
|
|
@@ -4330,7 +4330,7 @@ function isStrictReservedWord(parser, context, t) {
|
|
|
4330
4330
|
parser.destructible |= 128;
|
|
4331
4331
|
}
|
|
4332
4332
|
if (t === 241771 && context & 1024) parser.report(97, "yield");
|
|
4333
|
-
return (t & 20480) === 20480 || (t & 36864) === 36864 || t == -
|
|
4333
|
+
return (t & 20480) === 20480 || (t & 36864) === 36864 || t == -0x7fffff87;
|
|
4334
4334
|
}
|
|
4335
4335
|
function isPropertyWithPrivateFieldKey(expr) {
|
|
4336
4336
|
return !expr.property ? false : expr.property.type === "PrivateIdentifier";
|
|
@@ -4414,28 +4414,28 @@ function scanIdentifierSlowCase(parser, context, hasEscape, isValidAsKeyword) {
|
|
|
4414
4414
|
const { length } = parser.tokenValue;
|
|
4415
4415
|
if (isValidAsKeyword && length >= 2 && length <= 11) {
|
|
4416
4416
|
const token = getOwnProperty(descKeywordTable, parser.tokenValue);
|
|
4417
|
-
if (token === void 0) return 208897 | (hasEscape ? -
|
|
4417
|
+
if (token === void 0) return 208897 | (hasEscape ? -0x80000000 : 0);
|
|
4418
4418
|
if (!hasEscape) return token;
|
|
4419
4419
|
if (token === 209006) {
|
|
4420
|
-
if ((context & 2050) === 0) return token | -
|
|
4421
|
-
return -
|
|
4420
|
+
if ((context & 2050) === 0) return token | -0x80000000;
|
|
4421
|
+
return -0x7fffff88;
|
|
4422
4422
|
}
|
|
4423
4423
|
if (context & 1) {
|
|
4424
|
-
if (token === 36970) return -
|
|
4425
|
-
if ((token & 36864) === 36864) return -
|
|
4424
|
+
if (token === 36970) return -0x7fffff87;
|
|
4425
|
+
if ((token & 36864) === 36864) return -0x7fffff87;
|
|
4426
4426
|
if ((token & 20480) === 20480) {
|
|
4427
|
-
if (context & 262144 && (context & 8) === 0) return token | -
|
|
4428
|
-
else return -
|
|
4427
|
+
if (context & 262144 && (context & 8) === 0) return token | -0x80000000;
|
|
4428
|
+
else return -0x7fffff88;
|
|
4429
4429
|
}
|
|
4430
|
-
return -
|
|
4430
|
+
return -0x7ffccf86;
|
|
4431
4431
|
}
|
|
4432
|
-
if (context & 262144 && (context & 8) === 0 && (token & 20480) === 20480) return token | -
|
|
4433
|
-
if (token === 241771) return context & 262144 ? -
|
|
4434
|
-
if (token === 209005) return -
|
|
4435
|
-
if ((token & 36864) === 36864) return token | -
|
|
4436
|
-
return -
|
|
4432
|
+
if (context & 262144 && (context & 8) === 0 && (token & 20480) === 20480) return token | -0x80000000;
|
|
4433
|
+
if (token === 241771) return context & 262144 ? -0x7ffccf86 : context & 1024 ? -0x7fffff88 : token | -0x80000000;
|
|
4434
|
+
if (token === 209005) return -0x7ffccf86;
|
|
4435
|
+
if ((token & 36864) === 36864) return token | -0x7fffd000;
|
|
4436
|
+
return -0x7fffff88;
|
|
4437
4437
|
}
|
|
4438
|
-
return 208897 | (hasEscape ? -
|
|
4438
|
+
return 208897 | (hasEscape ? -0x80000000 : 0);
|
|
4439
4439
|
}
|
|
4440
4440
|
function scanPrivateIdentifier(parser) {
|
|
4441
4441
|
let char = advanceChar(parser);
|
|
@@ -4519,12 +4519,12 @@ const TokenLookup = [
|
|
|
4519
4519
|
128,
|
|
4520
4520
|
127,
|
|
4521
4521
|
16842798,
|
|
4522
|
-
|
|
4522
|
+
0x8010003,
|
|
4523
4523
|
130,
|
|
4524
4524
|
208897,
|
|
4525
4525
|
8391477,
|
|
4526
4526
|
8390213,
|
|
4527
|
-
|
|
4527
|
+
0x8010003,
|
|
4528
4528
|
67174411,
|
|
4529
4529
|
16,
|
|
4530
4530
|
8391476,
|
|
@@ -4533,20 +4533,20 @@ const TokenLookup = [
|
|
|
4533
4533
|
25233969,
|
|
4534
4534
|
67108877,
|
|
4535
4535
|
8457014,
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4536
|
+
0x8010002,
|
|
4537
|
+
0x8010002,
|
|
4538
|
+
0x8010002,
|
|
4539
|
+
0x8010002,
|
|
4540
|
+
0x8010002,
|
|
4541
|
+
0x8010002,
|
|
4542
|
+
0x8010002,
|
|
4543
|
+
0x8010002,
|
|
4544
|
+
0x8010002,
|
|
4545
|
+
0x8010002,
|
|
4546
4546
|
21,
|
|
4547
|
-
|
|
4547
|
+
0x40100011,
|
|
4548
4548
|
8456256,
|
|
4549
|
-
|
|
4549
|
+
0x4040001b,
|
|
4550
4550
|
8390721,
|
|
4551
4551
|
22,
|
|
4552
4552
|
132,
|
|
@@ -4610,7 +4610,7 @@ const TokenLookup = [
|
|
|
4610
4610
|
4096,
|
|
4611
4611
|
2162700,
|
|
4612
4612
|
8389702,
|
|
4613
|
-
|
|
4613
|
+
0x4010000f,
|
|
4614
4614
|
16842799,
|
|
4615
4615
|
128
|
|
4616
4616
|
];
|
|
@@ -4636,11 +4636,11 @@ function scanSingleToken(parser, context, state) {
|
|
|
4636
4636
|
case 67174411:
|
|
4637
4637
|
case 16:
|
|
4638
4638
|
case 2162700:
|
|
4639
|
-
case
|
|
4639
|
+
case 0x4010000f:
|
|
4640
4640
|
case 69271571:
|
|
4641
4641
|
case 20:
|
|
4642
4642
|
case 21:
|
|
4643
|
-
case
|
|
4643
|
+
case 0x40100011:
|
|
4644
4644
|
case 18:
|
|
4645
4645
|
case 16842799:
|
|
4646
4646
|
case 132:
|
|
@@ -4649,8 +4649,8 @@ function scanSingleToken(parser, context, state) {
|
|
|
4649
4649
|
return token;
|
|
4650
4650
|
case 208897: return scanIdentifier(parser, context, 0);
|
|
4651
4651
|
case 4096: return scanIdentifier(parser, context, 1);
|
|
4652
|
-
case
|
|
4653
|
-
case
|
|
4652
|
+
case 0x8010002: return scanNumber(parser, context, 144);
|
|
4653
|
+
case 0x8010003: return scanString(parser, context, char);
|
|
4654
4654
|
case 131: return scanTemplate(parser, context);
|
|
4655
4655
|
case 136: return scanUnicodeIdentifier(parser, context);
|
|
4656
4656
|
case 130: return scanPrivateIdentifier(parser);
|
|
@@ -4692,7 +4692,7 @@ function scanSingleToken(parser, context, state) {
|
|
|
4692
4692
|
}
|
|
4693
4693
|
return 8456256;
|
|
4694
4694
|
}
|
|
4695
|
-
case
|
|
4695
|
+
case 0x4040001b: {
|
|
4696
4696
|
advanceChar(parser);
|
|
4697
4697
|
const ch = parser.currentChar;
|
|
4698
4698
|
if (ch === 61) {
|
|
@@ -4706,7 +4706,7 @@ function scanSingleToken(parser, context, state) {
|
|
|
4706
4706
|
advanceChar(parser);
|
|
4707
4707
|
return 10;
|
|
4708
4708
|
}
|
|
4709
|
-
return
|
|
4709
|
+
return 0x4040001b;
|
|
4710
4710
|
}
|
|
4711
4711
|
case 16842798:
|
|
4712
4712
|
if (advanceChar(parser) !== 61) return 16842798;
|
|
@@ -7095,7 +7095,7 @@ function scanJSXString(parser) {
|
|
|
7095
7095
|
parser.tokenValue = parser.source.slice(start, parser.index);
|
|
7096
7096
|
advanceChar(parser);
|
|
7097
7097
|
if (parser.options.raw) parser.tokenRaw = parser.source.slice(parser.tokenIndex, parser.index);
|
|
7098
|
-
return
|
|
7098
|
+
return 0x8010003;
|
|
7099
7099
|
}
|
|
7100
7100
|
function nextJSXToken(parser) {
|
|
7101
7101
|
parser.startIndex = parser.tokenIndex = parser.index;
|
|
@@ -7448,7 +7448,7 @@ function parseSource(source, rawOptions = {}, context = 0) {
|
|
|
7448
7448
|
function parseStatementList(parser, context, scope) {
|
|
7449
7449
|
nextToken(parser, context | 262176);
|
|
7450
7450
|
const statements = [];
|
|
7451
|
-
while (parser.getToken() ===
|
|
7451
|
+
while (parser.getToken() === 0x8010003) {
|
|
7452
7452
|
const { index, tokenValue, tokenStart, tokenIndex } = parser;
|
|
7453
7453
|
const token = parser.getToken();
|
|
7454
7454
|
const expr = parseLiteral(parser, context);
|
|
@@ -7465,7 +7465,7 @@ function parseStatementList(parser, context, scope) {
|
|
|
7465
7465
|
function parseModuleItemList(parser, context, scope) {
|
|
7466
7466
|
nextToken(parser, context | 32);
|
|
7467
7467
|
const statements = [];
|
|
7468
|
-
while (parser.getToken() ===
|
|
7468
|
+
while (parser.getToken() === 0x8010003) {
|
|
7469
7469
|
const { tokenStart } = parser;
|
|
7470
7470
|
const token = parser.getToken();
|
|
7471
7471
|
statements.push(parseDirective(parser, context, parseLiteral(parser, context), token, tokenStart));
|
|
@@ -7520,7 +7520,7 @@ function parseStatement(parser, context, scope, privateScope, origin, labels, al
|
|
|
7520
7520
|
case 20562: return parseDoWhileStatement(parser, context, scope, privateScope, labels);
|
|
7521
7521
|
case 20578: return parseWhileStatement(parser, context, scope, privateScope, labels);
|
|
7522
7522
|
case 86110: return parseSwitchStatement(parser, context, scope, privateScope, labels);
|
|
7523
|
-
case
|
|
7523
|
+
case 0x40100011: return parseEmptyStatement(parser, context);
|
|
7524
7524
|
case 2162700: return parseBlock(parser, context, scope?.createChildScope(), privateScope, labels, parser.tokenStart);
|
|
7525
7525
|
case 86112: return parseThrowStatement(parser, context, privateScope);
|
|
7526
7526
|
case 20555: return parseBreakStatement(parser, context, labels);
|
|
@@ -7557,8 +7557,8 @@ function parseExpressionOrLabelledStatement(parser, context, scope, privateScope
|
|
|
7557
7557
|
function parseBlock(parser, context, scope, privateScope, labels, start = parser.tokenStart, type = "BlockStatement") {
|
|
7558
7558
|
const body = [];
|
|
7559
7559
|
consume(parser, context | 32, 2162700);
|
|
7560
|
-
while (parser.getToken() !==
|
|
7561
|
-
consume(parser, context | 32,
|
|
7560
|
+
while (parser.getToken() !== 0x4010000f) body.push(parseStatementListItem(parser, context, scope, privateScope, 2, { $: labels }));
|
|
7561
|
+
consume(parser, context | 32, 0x4010000f);
|
|
7562
7562
|
return parser.finishNode({
|
|
7563
7563
|
type,
|
|
7564
7564
|
body
|
|
@@ -7627,10 +7627,10 @@ function parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, priva
|
|
|
7627
7627
|
}
|
|
7628
7628
|
function parseDirective(parser, context, expression, token, start) {
|
|
7629
7629
|
const endIndex = parser.startIndex;
|
|
7630
|
-
if (token !==
|
|
7630
|
+
if (token !== 0x40100011) {
|
|
7631
7631
|
parser.assignable = 2;
|
|
7632
7632
|
expression = parseMemberOrUpdateExpression(parser, context, void 0, expression, 0, 0, start);
|
|
7633
|
-
if (parser.getToken() !==
|
|
7633
|
+
if (parser.getToken() !== 0x40100011) {
|
|
7634
7634
|
expression = parseAssignmentExpression(parser, context, void 0, 0, 0, start, expression);
|
|
7635
7635
|
if (parser.getToken() === 18) expression = parseSequenceExpression(parser, context, void 0, 0, start, expression);
|
|
7636
7636
|
}
|
|
@@ -7693,7 +7693,7 @@ function parseSwitchStatement(parser, context, scope, privateScope, labels) {
|
|
|
7693
7693
|
const cases = [];
|
|
7694
7694
|
let seenDefault = 0;
|
|
7695
7695
|
scope = scope?.createChildScope(8);
|
|
7696
|
-
while (parser.getToken() !==
|
|
7696
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
7697
7697
|
const { tokenStart } = parser;
|
|
7698
7698
|
let test = null;
|
|
7699
7699
|
const consequent = [];
|
|
@@ -7704,14 +7704,14 @@ function parseSwitchStatement(parser, context, scope, privateScope, labels) {
|
|
|
7704
7704
|
seenDefault = 1;
|
|
7705
7705
|
}
|
|
7706
7706
|
consume(parser, context | 32, 21);
|
|
7707
|
-
while (parser.getToken() !== 20556 && parser.getToken() !==
|
|
7707
|
+
while (parser.getToken() !== 20556 && parser.getToken() !== 0x4010000f && parser.getToken() !== 20561) consequent.push(parseStatementListItem(parser, context | 4, scope, privateScope, 2, { $: labels }));
|
|
7708
7708
|
cases.push(parser.finishNode({
|
|
7709
7709
|
type: "SwitchCase",
|
|
7710
7710
|
test,
|
|
7711
7711
|
consequent
|
|
7712
7712
|
}, tokenStart));
|
|
7713
7713
|
}
|
|
7714
|
-
consume(parser, context | 32,
|
|
7714
|
+
consume(parser, context | 32, 0x4010000f);
|
|
7715
7715
|
return parser.finishNode({
|
|
7716
7716
|
type: "SwitchStatement",
|
|
7717
7717
|
discriminant,
|
|
@@ -7791,15 +7791,13 @@ function parseDebuggerStatement(parser, context) {
|
|
|
7791
7791
|
function parseTryStatement(parser, context, scope, privateScope, labels) {
|
|
7792
7792
|
const start = parser.tokenStart;
|
|
7793
7793
|
nextToken(parser, context | 32);
|
|
7794
|
-
const
|
|
7795
|
-
const block = parseBlock(parser, context, firstScope, privateScope, { $: labels });
|
|
7794
|
+
const block = parseBlock(parser, context, scope?.createChildScope(16), privateScope, { $: labels });
|
|
7796
7795
|
const { tokenStart } = parser;
|
|
7797
7796
|
const handler = consumeOpt(parser, context | 32, 20557) ? parseCatchBlock(parser, context, scope, privateScope, labels, tokenStart) : null;
|
|
7798
7797
|
let finalizer = null;
|
|
7799
7798
|
if (parser.getToken() === 20566) {
|
|
7800
7799
|
nextToken(parser, context | 32);
|
|
7801
|
-
|
|
7802
|
-
finalizer = parseBlock(parser, context, finalizerScope, privateScope, { $: labels });
|
|
7800
|
+
finalizer = parseBlock(parser, context, scope?.createChildScope(4), privateScope, { $: labels });
|
|
7803
7801
|
}
|
|
7804
7802
|
if (!handler && !finalizer) parser.report(88);
|
|
7805
7803
|
return parser.finishNode({
|
|
@@ -7816,7 +7814,7 @@ function parseCatchBlock(parser, context, scope, privateScope, labels, start) {
|
|
|
7816
7814
|
scope = scope?.createChildScope(4);
|
|
7817
7815
|
param = parseBindingPattern(parser, context, scope, privateScope, (parser.getToken() & 2097152) === 2097152 ? 256 : 512, 0);
|
|
7818
7816
|
if (parser.getToken() === 18) parser.report(86);
|
|
7819
|
-
else if (parser.getToken() ===
|
|
7817
|
+
else if (parser.getToken() === 0x4040001b) parser.report(87);
|
|
7820
7818
|
consume(parser, context | 32, 16);
|
|
7821
7819
|
}
|
|
7822
7820
|
additionalScope = scope?.createChildScope(32);
|
|
@@ -7841,7 +7839,7 @@ function parseDoWhileStatement(parser, context, scope, privateScope, labels) {
|
|
|
7841
7839
|
consume(parser, context | 32, 67174411);
|
|
7842
7840
|
const test = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
7843
7841
|
consume(parser, context | 32, 16);
|
|
7844
|
-
consumeOpt(parser, context | 32,
|
|
7842
|
+
consumeOpt(parser, context | 32, 0x40100011);
|
|
7845
7843
|
return parser.finishNode({
|
|
7846
7844
|
type: "DoWhileStatement",
|
|
7847
7845
|
body,
|
|
@@ -7913,7 +7911,7 @@ function parseVariableDeclaration(parser, context, scope, privateScope, kind, or
|
|
|
7913
7911
|
const token = parser.getToken();
|
|
7914
7912
|
let init = null;
|
|
7915
7913
|
const id = parseBindingPattern(parser, context, scope, privateScope, kind, origin);
|
|
7916
|
-
if (parser.getToken() ===
|
|
7914
|
+
if (parser.getToken() === 0x4040001b) {
|
|
7917
7915
|
nextToken(parser, context | 32);
|
|
7918
7916
|
init = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
7919
7917
|
if (origin & 32 || (token & 2097152) === 0) {
|
|
@@ -7972,7 +7970,7 @@ function parseForStatement(parser, context, scope, privateScope, labels) {
|
|
|
7972
7970
|
}, tokenStart);
|
|
7973
7971
|
parser.assignable = 1;
|
|
7974
7972
|
}
|
|
7975
|
-
} else if (token ===
|
|
7973
|
+
} else if (token === 0x40100011) {
|
|
7976
7974
|
if (forAwait) parser.report(82);
|
|
7977
7975
|
} else if ((token & 2097152) === 2097152) {
|
|
7978
7976
|
const patternStart = parser.tokenStart;
|
|
@@ -8014,13 +8012,13 @@ function parseForStatement(parser, context, scope, privateScope, labels) {
|
|
|
8014
8012
|
}
|
|
8015
8013
|
if (forAwait) parser.report(82);
|
|
8016
8014
|
if (!isVarDecl) {
|
|
8017
|
-
if (destructible & 8 && parser.getToken() !==
|
|
8015
|
+
if (destructible & 8 && parser.getToken() !== 0x4040001b) parser.report(80, "loop");
|
|
8018
8016
|
init = parseAssignmentExpression(parser, context | 131072, privateScope, 0, 0, tokenStart, init);
|
|
8019
8017
|
}
|
|
8020
8018
|
if (parser.getToken() === 18) init = parseSequenceExpression(parser, context, privateScope, 0, tokenStart, init);
|
|
8021
|
-
consume(parser, context | 32,
|
|
8022
|
-
if (parser.getToken() !==
|
|
8023
|
-
consume(parser, context | 32,
|
|
8019
|
+
consume(parser, context | 32, 0x40100011);
|
|
8020
|
+
if (parser.getToken() !== 0x40100011) test = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
8021
|
+
consume(parser, context | 32, 0x40100011);
|
|
8024
8022
|
if (parser.getToken() !== 16) update = parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart);
|
|
8025
8023
|
consume(parser, context | 32, 16);
|
|
8026
8024
|
const body = parseIterationStatementBody(parser, context, scope, privateScope, labels);
|
|
@@ -8044,7 +8042,7 @@ function parseImportDeclaration(parser, context, scope) {
|
|
|
8044
8042
|
let source = null;
|
|
8045
8043
|
const { tokenStart } = parser;
|
|
8046
8044
|
let specifiers = [];
|
|
8047
|
-
if (parser.getToken() ===
|
|
8045
|
+
if (parser.getToken() === 0x8010003) source = parseLiteral(parser, context);
|
|
8048
8046
|
else {
|
|
8049
8047
|
if (parser.getToken() & 143360) {
|
|
8050
8048
|
const local = parseRestrictedIdentifier(parser, context, scope);
|
|
@@ -8088,7 +8086,7 @@ function parseImportNamespaceSpecifier(parser, context, scope) {
|
|
|
8088
8086
|
const { tokenStart } = parser;
|
|
8089
8087
|
nextToken(parser, context);
|
|
8090
8088
|
consume(parser, context, 77932);
|
|
8091
|
-
if ((parser.getToken() &
|
|
8089
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000) throw new ParseError(tokenStart, parser.currentLocation, 30, KeywordDescTable[parser.getToken() & 255]);
|
|
8092
8090
|
return parser.finishNode({
|
|
8093
8091
|
type: "ImportNamespaceSpecifier",
|
|
8094
8092
|
local: parseRestrictedIdentifier(parser, context, scope)
|
|
@@ -8096,18 +8094,18 @@ function parseImportNamespaceSpecifier(parser, context, scope) {
|
|
|
8096
8094
|
}
|
|
8097
8095
|
function parseModuleSpecifier(parser, context) {
|
|
8098
8096
|
consume(parser, context, 209011);
|
|
8099
|
-
if (parser.getToken() !==
|
|
8097
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Import");
|
|
8100
8098
|
return parseLiteral(parser, context);
|
|
8101
8099
|
}
|
|
8102
8100
|
function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers) {
|
|
8103
8101
|
nextToken(parser, context);
|
|
8104
|
-
while (parser.getToken() & 143360 || parser.getToken() ===
|
|
8102
|
+
while (parser.getToken() & 143360 || parser.getToken() === 0x8010003) {
|
|
8105
8103
|
let { tokenValue, tokenStart } = parser;
|
|
8106
8104
|
const token = parser.getToken();
|
|
8107
8105
|
const imported = parseModuleExportName(parser, context);
|
|
8108
8106
|
let local;
|
|
8109
8107
|
if (consumeOpt(parser, context, 77932)) {
|
|
8110
|
-
if ((parser.getToken() &
|
|
8108
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000 || parser.getToken() === 18) parser.report(106);
|
|
8111
8109
|
else validateBindingIdentifier(parser, context, 16, parser.getToken(), 0);
|
|
8112
8110
|
tokenValue = parser.tokenValue;
|
|
8113
8111
|
local = parseIdentifier(parser, context);
|
|
@@ -8121,9 +8119,9 @@ function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers)
|
|
|
8121
8119
|
local,
|
|
8122
8120
|
imported
|
|
8123
8121
|
}, tokenStart));
|
|
8124
|
-
if (parser.getToken() !==
|
|
8122
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8125
8123
|
}
|
|
8126
|
-
consume(parser, context,
|
|
8124
|
+
consume(parser, context, 0x4010000f);
|
|
8127
8125
|
return specifiers;
|
|
8128
8126
|
}
|
|
8129
8127
|
function parseImportMetaDeclaration(parser, context, start) {
|
|
@@ -8195,7 +8193,7 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8195
8193
|
exported = parseModuleExportName(parser, context);
|
|
8196
8194
|
}
|
|
8197
8195
|
consume(parser, context, 209011);
|
|
8198
|
-
if (parser.getToken() !==
|
|
8196
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Export");
|
|
8199
8197
|
source = parseLiteral(parser, context);
|
|
8200
8198
|
const attributes = parseImportAttributes(parser, context);
|
|
8201
8199
|
const node = {
|
|
@@ -8212,14 +8210,14 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8212
8210
|
const tmpExportedNames = [];
|
|
8213
8211
|
const tmpExportedBindings = [];
|
|
8214
8212
|
let hasLiteralLocal = 0;
|
|
8215
|
-
while (parser.getToken() & 143360 || parser.getToken() ===
|
|
8213
|
+
while (parser.getToken() & 143360 || parser.getToken() === 0x8010003) {
|
|
8216
8214
|
const { tokenStart, tokenValue } = parser;
|
|
8217
8215
|
const local = parseModuleExportName(parser, context);
|
|
8218
8216
|
if (local.type === "Literal") hasLiteralLocal = 1;
|
|
8219
8217
|
let exported;
|
|
8220
8218
|
if (parser.getToken() === 77932) {
|
|
8221
8219
|
nextToken(parser, context);
|
|
8222
|
-
if ((parser.getToken() & 143360) === 0 && parser.getToken() !==
|
|
8220
|
+
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== 0x8010003) parser.report(106);
|
|
8223
8221
|
if (scope) {
|
|
8224
8222
|
tmpExportedNames.push(parser.tokenValue);
|
|
8225
8223
|
tmpExportedBindings.push(tokenValue);
|
|
@@ -8237,11 +8235,11 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
8237
8235
|
local,
|
|
8238
8236
|
exported
|
|
8239
8237
|
}, tokenStart));
|
|
8240
|
-
if (parser.getToken() !==
|
|
8238
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8241
8239
|
}
|
|
8242
|
-
consume(parser, context,
|
|
8240
|
+
consume(parser, context, 0x4010000f);
|
|
8243
8241
|
if (consumeOpt(parser, context, 209011)) {
|
|
8244
|
-
if (parser.getToken() !==
|
|
8242
|
+
if (parser.getToken() !== 0x8010003) parser.report(105, "Export");
|
|
8245
8243
|
source = parseLiteral(parser, context);
|
|
8246
8244
|
attributes = parseImportAttributes(parser, context);
|
|
8247
8245
|
if (scope) tmpExportedNames.forEach((n) => parser.declareUnboundVariable(n));
|
|
@@ -8311,7 +8309,7 @@ function parseAssignmentExpression(parser, context, privateScope, inGroup, isPat
|
|
|
8311
8309
|
const token = parser.getToken();
|
|
8312
8310
|
if ((token & 4194304) === 4194304) {
|
|
8313
8311
|
if (parser.assignable & 2) parser.report(26);
|
|
8314
|
-
if (!isPattern && token ===
|
|
8312
|
+
if (!isPattern && token === 0x4040001b && left.type === "ArrayExpression" || left.type === "ObjectExpression") reinterpretToPattern(parser, left);
|
|
8315
8313
|
nextToken(parser, context | 32);
|
|
8316
8314
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
8317
8315
|
parser.assignable = 2;
|
|
@@ -8378,7 +8376,7 @@ function parseBinaryExpression(parser, context, privateScope, inGroup, start, mi
|
|
|
8378
8376
|
operator: KeywordDescTable[t & 255]
|
|
8379
8377
|
}, start);
|
|
8380
8378
|
}
|
|
8381
|
-
if (parser.getToken() ===
|
|
8379
|
+
if (parser.getToken() === 0x4040001b) parser.report(26);
|
|
8382
8380
|
return left;
|
|
8383
8381
|
}
|
|
8384
8382
|
function parseUnaryExpression(parser, context, privateScope, isLHS, inGroup) {
|
|
@@ -8497,8 +8495,8 @@ function parseFunctionBody(parser, context, scope, privateScope, origin, funcNam
|
|
|
8497
8495
|
const { tokenStart } = parser;
|
|
8498
8496
|
consume(parser, context | 32, 2162700);
|
|
8499
8497
|
const body = [];
|
|
8500
|
-
if (parser.getToken() !==
|
|
8501
|
-
while (parser.getToken() ===
|
|
8498
|
+
if (parser.getToken() !== 0x4010000f) {
|
|
8499
|
+
while (parser.getToken() === 0x8010003) {
|
|
8502
8500
|
const { index, tokenStart, tokenIndex, tokenValue } = parser;
|
|
8503
8501
|
const token = parser.getToken();
|
|
8504
8502
|
const expr = parseLiteral(parser, context);
|
|
@@ -8522,10 +8520,10 @@ function parseFunctionBody(parser, context, scope, privateScope, origin, funcNam
|
|
|
8522
8520
|
}
|
|
8523
8521
|
parser.flags = (parser.flags | 4928) ^ 4928;
|
|
8524
8522
|
parser.destructible = (parser.destructible | 256) ^ 256;
|
|
8525
|
-
while (parser.getToken() !==
|
|
8526
|
-
consume(parser, origin & 24 ? context | 32 : context,
|
|
8523
|
+
while (parser.getToken() !== 0x4010000f) body.push(parseStatementListItem(parser, context, scope, privateScope, 4, {}));
|
|
8524
|
+
consume(parser, origin & 24 ? context | 32 : context, 0x4010000f);
|
|
8527
8525
|
parser.flags &= -4289;
|
|
8528
|
-
if (parser.getToken() ===
|
|
8526
|
+
if (parser.getToken() === 0x4040001b) parser.report(26);
|
|
8529
8527
|
return parser.finishNode({
|
|
8530
8528
|
type: "BlockStatement",
|
|
8531
8529
|
body
|
|
@@ -8698,7 +8696,7 @@ function parseOptionalChain(parser, context, privateScope, expr, start) {
|
|
|
8698
8696
|
return node;
|
|
8699
8697
|
}
|
|
8700
8698
|
function parsePropertyOrPrivatePropertyName(parser, context, privateScope) {
|
|
8701
|
-
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== -
|
|
8699
|
+
if ((parser.getToken() & 143360) === 0 && parser.getToken() !== -0x7fffff88 && parser.getToken() !== -0x7fffff87 && parser.getToken() !== 130) parser.report(160);
|
|
8702
8700
|
return parser.getToken() === 130 ? parsePrivateIdentifier(parser, context, privateScope, 0) : parseIdentifier(parser, context);
|
|
8703
8701
|
}
|
|
8704
8702
|
function parseUpdateExpressionPrefixed(parser, context, privateScope, inNew, isLHS, start) {
|
|
@@ -8740,7 +8738,7 @@ function parsePrimaryExpression(parser, context, privateScope, kind, inNew, canA
|
|
|
8740
8738
|
parser.assignable = context & 1 && (token & 537079808) === 537079808 ? 2 : 1;
|
|
8741
8739
|
return expr;
|
|
8742
8740
|
}
|
|
8743
|
-
if ((parser.getToken() &
|
|
8741
|
+
if ((parser.getToken() & 0x8000000) === 0x8000000) return parseLiteral(parser, context);
|
|
8744
8742
|
switch (parser.getToken()) {
|
|
8745
8743
|
case 33619993:
|
|
8746
8744
|
case 33619994: return parseUpdateExpressionPrefixed(parser, context, privateScope, inNew, isLHS, start);
|
|
@@ -8766,7 +8764,7 @@ function parsePrimaryExpression(parser, context, privateScope, kind, inNew, canA
|
|
|
8766
8764
|
case 67174409: return parseTemplateLiteral(parser, context);
|
|
8767
8765
|
case 67174408: return parseTemplate(parser, context, privateScope);
|
|
8768
8766
|
case 86107: return parseNewExpression(parser, context, privateScope, inGroup);
|
|
8769
|
-
case
|
|
8767
|
+
case 0x801007c: return parseBigIntLiteral(parser, context);
|
|
8770
8768
|
case 130: return parsePrivateIdentifier(parser, context, privateScope, 0);
|
|
8771
8769
|
case 86106: return parseImportCallOrMetaExpression(parser, context, privateScope, inNew, inGroup, start);
|
|
8772
8770
|
case 8456256: if (parser.options.jsx) return parseJSXRootElementOrFragment(parser, context, privateScope, 0, parser.tokenStart);
|
|
@@ -8788,7 +8786,7 @@ function parseImportMetaExpression(parser, context, meta, start) {
|
|
|
8788
8786
|
nextToken(parser, context);
|
|
8789
8787
|
const token = parser.getToken();
|
|
8790
8788
|
if (token !== 209030 && parser.tokenValue !== "meta") parser.report(174);
|
|
8791
|
-
else if (token & -
|
|
8789
|
+
else if (token & -0x80000000) parser.report(175);
|
|
8792
8790
|
parser.assignable = 2;
|
|
8793
8791
|
return parser.finishNode({
|
|
8794
8792
|
type: "MetaProperty",
|
|
@@ -8819,7 +8817,7 @@ function parseImportAttributes(parser, context) {
|
|
|
8819
8817
|
consume(parser, context, 2162700);
|
|
8820
8818
|
const attributes = [];
|
|
8821
8819
|
const keysContent = /* @__PURE__ */ new Set();
|
|
8822
|
-
while (parser.getToken() !==
|
|
8820
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
8823
8821
|
const start = parser.tokenStart;
|
|
8824
8822
|
const key = parseIdentifierOrStringLiteral(parser, context);
|
|
8825
8823
|
consume(parser, context, 21);
|
|
@@ -8832,17 +8830,17 @@ function parseImportAttributes(parser, context) {
|
|
|
8832
8830
|
key,
|
|
8833
8831
|
value
|
|
8834
8832
|
}, start));
|
|
8835
|
-
if (parser.getToken() !==
|
|
8833
|
+
if (parser.getToken() !== 0x4010000f) consume(parser, context, 18);
|
|
8836
8834
|
}
|
|
8837
|
-
consume(parser, context,
|
|
8835
|
+
consume(parser, context, 0x4010000f);
|
|
8838
8836
|
return attributes;
|
|
8839
8837
|
}
|
|
8840
8838
|
function parseStringLiteral(parser, context) {
|
|
8841
|
-
if (parser.getToken() ===
|
|
8839
|
+
if (parser.getToken() === 0x8010003) return parseLiteral(parser, context);
|
|
8842
8840
|
else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
8843
8841
|
}
|
|
8844
8842
|
function parseIdentifierOrStringLiteral(parser, context) {
|
|
8845
|
-
if (parser.getToken() ===
|
|
8843
|
+
if (parser.getToken() === 0x8010003) return parseLiteral(parser, context);
|
|
8846
8844
|
else if (parser.getToken() & 143360) return parseIdentifier(parser, context);
|
|
8847
8845
|
else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
8848
8846
|
}
|
|
@@ -8855,7 +8853,7 @@ function validateStringWellFormed(parser, str) {
|
|
|
8855
8853
|
}
|
|
8856
8854
|
}
|
|
8857
8855
|
function parseModuleExportName(parser, context) {
|
|
8858
|
-
if (parser.getToken() ===
|
|
8856
|
+
if (parser.getToken() === 0x8010003) {
|
|
8859
8857
|
validateStringWellFormed(parser, parser.tokenValue);
|
|
8860
8858
|
return parseLiteral(parser, context);
|
|
8861
8859
|
} else if (parser.getToken() & 143360) return parseIdentifier(parser, context);
|
|
@@ -8890,13 +8888,13 @@ function parseTemplate(parser, context, privateScope) {
|
|
|
8890
8888
|
consume(parser, context & -65 | 32, 67174408);
|
|
8891
8889
|
const quasis = [parseTemplateElement(parser, tokenValue, tokenRaw, tokenStart, false)];
|
|
8892
8890
|
const expressions = [parseExpressions(parser, context & -65, privateScope, 0, 1, parser.tokenStart)];
|
|
8893
|
-
if (parser.getToken() !==
|
|
8891
|
+
if (parser.getToken() !== 0x4010000f) parser.report(83);
|
|
8894
8892
|
while (parser.setToken(scanTemplateTail(parser, context), true) !== 67174409) {
|
|
8895
8893
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
8896
8894
|
consume(parser, context & -65 | 32, 67174408);
|
|
8897
8895
|
quasis.push(parseTemplateElement(parser, tokenValue, tokenRaw, tokenStart, false));
|
|
8898
8896
|
expressions.push(parseExpressions(parser, context, privateScope, 0, 1, parser.tokenStart));
|
|
8899
|
-
if (parser.getToken() !==
|
|
8897
|
+
if (parser.getToken() !== 0x4010000f) parser.report(83);
|
|
8900
8898
|
}
|
|
8901
8899
|
{
|
|
8902
8900
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
@@ -8961,7 +8959,7 @@ function parseArguments(parser, context, privateScope, inGroup) {
|
|
|
8961
8959
|
}
|
|
8962
8960
|
function parseIdentifier(parser, context) {
|
|
8963
8961
|
const { tokenValue, tokenStart } = parser;
|
|
8964
|
-
nextToken(parser, context | (tokenValue === "await" && (parser.getToken() & -
|
|
8962
|
+
nextToken(parser, context | (tokenValue === "await" && (parser.getToken() & -0x80000000) === 0 ? 32 : 0));
|
|
8965
8963
|
return parser.finishNode({
|
|
8966
8964
|
type: "Identifier",
|
|
8967
8965
|
name: tokenValue
|
|
@@ -8969,7 +8967,7 @@ function parseIdentifier(parser, context) {
|
|
|
8969
8967
|
}
|
|
8970
8968
|
function parseLiteral(parser, context) {
|
|
8971
8969
|
const { tokenValue, tokenRaw, tokenStart } = parser;
|
|
8972
|
-
if (parser.getToken() ===
|
|
8970
|
+
if (parser.getToken() === 0x801007c) return parseBigIntLiteral(parser, context);
|
|
8973
8971
|
nextToken(parser, context);
|
|
8974
8972
|
parser.assignable = 2;
|
|
8975
8973
|
return parser.finishNode(parser.options.raw ? {
|
|
@@ -9089,7 +9087,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9089
9087
|
const token = parser.getToken();
|
|
9090
9088
|
if (token & 143360) {
|
|
9091
9089
|
left = parsePrimaryExpression(parser, context, privateScope, kind, 0, 1, inGroup, 1, tokenStart);
|
|
9092
|
-
if (parser.getToken() ===
|
|
9090
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9093
9091
|
if (parser.assignable & 2) parser.report(26);
|
|
9094
9092
|
nextToken(parser, context | 32);
|
|
9095
9093
|
scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
@@ -9113,9 +9111,9 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9113
9111
|
destructible |= kind & 1 ? 32 : (kind & 2) === 0 ? 16 : 0;
|
|
9114
9112
|
left = parseMemberOrUpdateExpression(parser, context, privateScope, left, inGroup, 0, tokenStart);
|
|
9115
9113
|
if (parser.getToken() !== 18 && parser.getToken() !== 20) {
|
|
9116
|
-
if (parser.getToken() !==
|
|
9114
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9117
9115
|
left = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, left);
|
|
9118
|
-
} else if (parser.getToken() !==
|
|
9116
|
+
} else if (parser.getToken() !== 0x4040001b) destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9119
9117
|
}
|
|
9120
9118
|
} else if (token & 2097152) {
|
|
9121
9119
|
left = parser.getToken() === 2162700 ? parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
@@ -9128,7 +9126,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9128
9126
|
left = parseMemberOrUpdateExpression(parser, context, privateScope, left, inGroup, 0, tokenStart);
|
|
9129
9127
|
destructible = parser.assignable & 2 ? 16 : 0;
|
|
9130
9128
|
if (parser.getToken() !== 18 && parser.getToken() !== 20) left = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, left);
|
|
9131
|
-
else if (parser.getToken() !==
|
|
9129
|
+
else if (parser.getToken() !== 0x4040001b) destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9132
9130
|
}
|
|
9133
9131
|
} else if (token === 14) {
|
|
9134
9132
|
left = parseSpreadOrRestElement(parser, context, scope, privateScope, 20, kind, origin, 0, inGroup, isPattern);
|
|
@@ -9157,7 +9155,7 @@ function parseArrayExpressionOrPattern(parser, context, scope, privateScope, ski
|
|
|
9157
9155
|
return node;
|
|
9158
9156
|
}
|
|
9159
9157
|
function parseArrayOrObjectAssignmentPattern(parser, context, privateScope, destructible, inGroup, isPattern, start, node) {
|
|
9160
|
-
if (parser.getToken() !==
|
|
9158
|
+
if (parser.getToken() !== 0x4040001b) parser.report(26);
|
|
9161
9159
|
nextToken(parser, context | 32);
|
|
9162
9160
|
if (destructible & 16) parser.report(26);
|
|
9163
9161
|
if (!isPattern) reinterpretToPattern(parser, node);
|
|
@@ -9188,7 +9186,7 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9188
9186
|
token = parser.getToken();
|
|
9189
9187
|
argument = parseMemberOrUpdateExpression(parser, context, privateScope, argument, inGroup, 0, tokenStart);
|
|
9190
9188
|
if (parser.getToken() !== 18 && parser.getToken() !== closingToken) {
|
|
9191
|
-
if (parser.assignable & 2 && parser.getToken() ===
|
|
9189
|
+
if (parser.assignable & 2 && parser.getToken() === 0x4040001b) parser.report(71);
|
|
9192
9190
|
destructible |= 16;
|
|
9193
9191
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9194
9192
|
}
|
|
@@ -9200,25 +9198,25 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9200
9198
|
else if (token & 2097152) {
|
|
9201
9199
|
argument = parser.getToken() === 2162700 ? parseObjectLiteralOrPattern(parser, context, scope, privateScope, 1, inGroup, isPattern, kind, origin) : parseArrayExpressionOrPattern(parser, context, scope, privateScope, 1, inGroup, isPattern, kind, origin);
|
|
9202
9200
|
token = parser.getToken();
|
|
9203
|
-
if (token !==
|
|
9201
|
+
if (token !== 0x4040001b && token !== closingToken && token !== 18) {
|
|
9204
9202
|
if (parser.destructible & 8) parser.report(71);
|
|
9205
9203
|
argument = parseMemberOrUpdateExpression(parser, context, privateScope, argument, inGroup, 0, tokenStart);
|
|
9206
9204
|
destructible |= parser.assignable & 2 ? 16 : 0;
|
|
9207
9205
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9208
|
-
if (parser.getToken() !==
|
|
9206
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9209
9207
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9210
9208
|
} else {
|
|
9211
9209
|
if ((parser.getToken() & 8388608) === 8388608) argument = parseBinaryExpression(parser, context, privateScope, 1, tokenStart, 4, token, argument);
|
|
9212
9210
|
if (consumeOpt(parser, context | 32, 22)) argument = parseConditionalExpression(parser, context, privateScope, argument, tokenStart);
|
|
9213
9211
|
destructible |= parser.assignable & 2 ? 16 : 32;
|
|
9214
9212
|
}
|
|
9215
|
-
} else destructible |= closingToken ===
|
|
9213
|
+
} else destructible |= closingToken === 0x4010000f && token !== 0x4040001b ? 16 : parser.destructible;
|
|
9216
9214
|
} else {
|
|
9217
9215
|
destructible |= 32;
|
|
9218
9216
|
argument = parseLeftHandSideExpression(parser, context, privateScope, 1, inGroup, 1);
|
|
9219
9217
|
const { tokenStart } = parser;
|
|
9220
9218
|
const token = parser.getToken();
|
|
9221
|
-
if (token ===
|
|
9219
|
+
if (token === 0x4040001b) {
|
|
9222
9220
|
if (parser.assignable & 2) parser.report(26);
|
|
9223
9221
|
argument = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, argument);
|
|
9224
9222
|
destructible |= 16;
|
|
@@ -9236,7 +9234,7 @@ function parseSpreadOrRestElement(parser, context, scope, privateScope, closingT
|
|
|
9236
9234
|
}
|
|
9237
9235
|
if (parser.getToken() !== closingToken) {
|
|
9238
9236
|
if (kind & 1) destructible |= isAsync ? 16 : 32;
|
|
9239
|
-
if (consumeOpt(parser, context | 32,
|
|
9237
|
+
if (consumeOpt(parser, context | 32, 0x4040001b)) {
|
|
9240
9238
|
if (destructible & 16) parser.report(26);
|
|
9241
9239
|
reinterpretToPattern(parser, argument);
|
|
9242
9240
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
@@ -9288,23 +9286,23 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9288
9286
|
let destructible = 0;
|
|
9289
9287
|
let prototypeCount = 0;
|
|
9290
9288
|
context = (context | 131072) ^ 131072;
|
|
9291
|
-
while (parser.getToken() !==
|
|
9289
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
9292
9290
|
const { tokenValue, tokenStart } = parser;
|
|
9293
9291
|
const token = parser.getToken();
|
|
9294
|
-
if (token === 14) properties.push(parseSpreadOrRestElement(parser, context, scope, privateScope,
|
|
9292
|
+
if (token === 14) properties.push(parseSpreadOrRestElement(parser, context, scope, privateScope, 0x4010000f, kind, origin, 0, inGroup, isPattern));
|
|
9295
9293
|
else {
|
|
9296
9294
|
let state = 0;
|
|
9297
9295
|
let key = null;
|
|
9298
9296
|
let value;
|
|
9299
|
-
if (parser.getToken() & 143360 || parser.getToken() === -
|
|
9300
|
-
if (parser.getToken() === -
|
|
9297
|
+
if (parser.getToken() & 143360 || parser.getToken() === -0x7fffff88 || parser.getToken() === -0x7fffff87) {
|
|
9298
|
+
if (parser.getToken() === -0x7fffff87) destructible |= 16;
|
|
9301
9299
|
key = parseIdentifier(parser, context);
|
|
9302
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9300
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f || parser.getToken() === 0x4040001b) {
|
|
9303
9301
|
state |= 4;
|
|
9304
9302
|
if (context & 1 && (token & 537079808) === 537079808) destructible |= 16;
|
|
9305
9303
|
else validateBindingIdentifier(parser, context, kind, token, 0);
|
|
9306
9304
|
scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
9307
|
-
if (consumeOpt(parser, context | 32,
|
|
9305
|
+
if (consumeOpt(parser, context | 32, 0x4040001b)) {
|
|
9308
9306
|
destructible |= 8;
|
|
9309
9307
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
9310
9308
|
destructible |= parser.destructible & 256 ? 256 : 0 | parser.destructible & 128 ? 128 : 0;
|
|
@@ -9314,7 +9312,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9314
9312
|
right
|
|
9315
9313
|
}, tokenStart);
|
|
9316
9314
|
} else {
|
|
9317
|
-
destructible |= (token === 209006 ? 128 : 0) | (token === -
|
|
9315
|
+
destructible |= (token === 209006 ? 128 : 0) | (token === -0x7fffff88 ? 16 : 0);
|
|
9318
9316
|
value = parser.options.uniqueKeyInPattern ? Object.assign({}, key) : key;
|
|
9319
9317
|
}
|
|
9320
9318
|
} else if (consumeOpt(parser, context | 32, 21)) {
|
|
@@ -9326,15 +9324,15 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9326
9324
|
value = parsePrimaryExpression(parser, context, privateScope, kind, 0, 1, inGroup, 1, tokenStart);
|
|
9327
9325
|
const token = parser.getToken();
|
|
9328
9326
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9329
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9330
|
-
if (token ===
|
|
9327
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9328
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9331
9329
|
destructible |= parser.destructible & 128 ? 128 : 0;
|
|
9332
9330
|
if (parser.assignable & 2) destructible |= 16;
|
|
9333
9331
|
else if ((tokenAfterColon & 143360) === 143360) scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9334
9332
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9335
9333
|
} else if ((parser.getToken() & 4194304) === 4194304) {
|
|
9336
9334
|
if (parser.assignable & 2) destructible |= 16;
|
|
9337
|
-
else if (token !==
|
|
9335
|
+
else if (token !== 0x4040001b) destructible |= 32;
|
|
9338
9336
|
else scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9339
9337
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9340
9338
|
} else {
|
|
@@ -9346,7 +9344,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9346
9344
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9347
9345
|
destructible = parser.destructible;
|
|
9348
9346
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9349
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9347
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9350
9348
|
if (parser.assignable & 2) destructible |= 16;
|
|
9351
9349
|
} else if (parser.destructible & 8) parser.report(71);
|
|
9352
9350
|
else {
|
|
@@ -9362,13 +9360,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9362
9360
|
} else {
|
|
9363
9361
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, inGroup, 1);
|
|
9364
9362
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9365
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9363
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9366
9364
|
if (parser.assignable & 2) destructible |= 16;
|
|
9367
9365
|
} else {
|
|
9368
9366
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9369
9367
|
destructible = parser.assignable & 2 ? 16 : 0;
|
|
9370
|
-
if (parser.getToken() !== 18 && token !==
|
|
9371
|
-
if (parser.getToken() !==
|
|
9368
|
+
if (parser.getToken() !== 18 && token !== 0x4010000f) {
|
|
9369
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9372
9370
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9373
9371
|
}
|
|
9374
9372
|
}
|
|
@@ -9382,7 +9380,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9382
9380
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9383
9381
|
} else if (parser.getToken() & 143360) {
|
|
9384
9382
|
destructible |= 16;
|
|
9385
|
-
if (token === -
|
|
9383
|
+
if (token === -0x7fffff88) parser.report(95);
|
|
9386
9384
|
if (token === 209005) {
|
|
9387
9385
|
if (parser.flags & 1) parser.report(132);
|
|
9388
9386
|
state |= 17;
|
|
@@ -9403,21 +9401,21 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9403
9401
|
nextToken(parser, context);
|
|
9404
9402
|
state |= 9 | (token === 209005 ? 16 : 0);
|
|
9405
9403
|
if (parser.getToken() & 143360) key = parseIdentifier(parser, context);
|
|
9406
|
-
else if ((parser.getToken() &
|
|
9404
|
+
else if ((parser.getToken() & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
9407
9405
|
else if (parser.getToken() === 69271571) {
|
|
9408
9406
|
state |= 2;
|
|
9409
9407
|
key = parseComputedPropertyName(parser, context, privateScope, inGroup);
|
|
9410
9408
|
destructible |= parser.assignable;
|
|
9411
9409
|
} else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
9412
9410
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9413
|
-
} else if ((parser.getToken() &
|
|
9411
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9414
9412
|
if (token === 209005) state |= 16;
|
|
9415
9413
|
state |= token === 209008 ? 256 : token === 209009 ? 512 : 1;
|
|
9416
9414
|
destructible |= 16;
|
|
9417
9415
|
key = parseLiteral(parser, context);
|
|
9418
9416
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9419
9417
|
} else parser.report(133);
|
|
9420
|
-
} else if ((parser.getToken() &
|
|
9418
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9421
9419
|
key = parseLiteral(parser, context);
|
|
9422
9420
|
if (parser.getToken() === 21) {
|
|
9423
9421
|
consume(parser, context | 32, 21);
|
|
@@ -9428,12 +9426,12 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9428
9426
|
const { tokenValue: valueAfterColon } = parser;
|
|
9429
9427
|
const token = parser.getToken();
|
|
9430
9428
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9431
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9432
|
-
if (token ===
|
|
9429
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9430
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9433
9431
|
if (parser.assignable & 2) destructible |= 16;
|
|
9434
9432
|
else scope?.addVarOrBlock(context, valueAfterColon, kind, origin);
|
|
9435
9433
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9436
|
-
} else if (parser.getToken() ===
|
|
9434
|
+
} else if (parser.getToken() === 0x4040001b) {
|
|
9437
9435
|
if (parser.assignable & 2) destructible |= 16;
|
|
9438
9436
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9439
9437
|
} else {
|
|
@@ -9444,7 +9442,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9444
9442
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9445
9443
|
destructible = parser.destructible;
|
|
9446
9444
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9447
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9445
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9448
9446
|
if (parser.assignable & 2) destructible |= 16;
|
|
9449
9447
|
} else if ((parser.destructible & 8) !== 8) {
|
|
9450
9448
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
@@ -9459,13 +9457,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9459
9457
|
} else {
|
|
9460
9458
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, 0, 1);
|
|
9461
9459
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9462
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9460
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9463
9461
|
if (parser.assignable & 2) destructible |= 16;
|
|
9464
9462
|
} else {
|
|
9465
9463
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9466
9464
|
destructible = parser.assignable & 1 ? 0 : 16;
|
|
9467
|
-
if (parser.getToken() !== 18 && parser.getToken() !==
|
|
9468
|
-
if (parser.getToken() !==
|
|
9465
|
+
if (parser.getToken() !== 18 && parser.getToken() !== 0x4010000f) {
|
|
9466
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9469
9467
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9470
9468
|
}
|
|
9471
9469
|
}
|
|
@@ -9488,10 +9486,10 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9488
9486
|
const token = parser.getToken();
|
|
9489
9487
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9490
9488
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9491
|
-
destructible |= parser.assignable & 2 ? 16 : token ===
|
|
9489
|
+
destructible |= parser.assignable & 2 ? 16 : token === 0x4040001b ? 0 : 32;
|
|
9492
9490
|
value = parseAssignmentExpressionOrPattern(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9493
|
-
} else if (parser.getToken() === 18 || parser.getToken() ===
|
|
9494
|
-
if (token ===
|
|
9491
|
+
} else if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9492
|
+
if (token === 0x4040001b || token === 0x4010000f || token === 18) {
|
|
9495
9493
|
if (parser.assignable & 2) destructible |= 16;
|
|
9496
9494
|
else if ((tokenAfterColon & 143360) === 143360) scope?.addVarOrBlock(context, tokenValue, kind, origin);
|
|
9497
9495
|
} else destructible |= parser.assignable & 1 ? 32 : 16;
|
|
@@ -9503,14 +9501,14 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9503
9501
|
value = parser.getToken() === 69271571 ? parseArrayExpressionOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin) : parseObjectLiteralOrPattern(parser, context, scope, privateScope, 0, inGroup, isPattern, kind, origin);
|
|
9504
9502
|
destructible = parser.destructible;
|
|
9505
9503
|
parser.assignable = destructible & 16 ? 2 : 1;
|
|
9506
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9504
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9507
9505
|
if (parser.assignable & 2) destructible |= 16;
|
|
9508
9506
|
} else if (destructible & 8) parser.report(62);
|
|
9509
9507
|
else {
|
|
9510
9508
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9511
9509
|
destructible = parser.assignable & 2 ? destructible | 16 : 0;
|
|
9512
9510
|
if ((parser.getToken() & 4194304) === 4194304) {
|
|
9513
|
-
if (parser.getToken() !==
|
|
9511
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9514
9512
|
value = parseAssignmentExpressionOrPattern(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9515
9513
|
} else {
|
|
9516
9514
|
if ((parser.getToken() & 8388608) === 8388608) value = parseBinaryExpression(parser, context, privateScope, 1, tokenStart, 4, token, value);
|
|
@@ -9521,13 +9519,13 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9521
9519
|
} else {
|
|
9522
9520
|
value = parseLeftHandSideExpression(parser, context, privateScope, 1, 0, 1);
|
|
9523
9521
|
destructible |= parser.assignable & 1 ? 32 : 16;
|
|
9524
|
-
if (parser.getToken() === 18 || parser.getToken() ===
|
|
9522
|
+
if (parser.getToken() === 18 || parser.getToken() === 0x4010000f) {
|
|
9525
9523
|
if (parser.assignable & 2) destructible |= 16;
|
|
9526
9524
|
} else {
|
|
9527
9525
|
value = parseMemberOrUpdateExpression(parser, context, privateScope, value, inGroup, 0, tokenStart);
|
|
9528
9526
|
destructible = parser.assignable & 1 ? 0 : 16;
|
|
9529
|
-
if (parser.getToken() !== 18 && parser.getToken() !==
|
|
9530
|
-
if (parser.getToken() !==
|
|
9527
|
+
if (parser.getToken() !== 18 && parser.getToken() !== 0x4010000f) {
|
|
9528
|
+
if (parser.getToken() !== 0x4040001b) destructible |= 16;
|
|
9531
9529
|
value = parseAssignmentExpression(parser, context, privateScope, inGroup, isPattern, tokenStart, value);
|
|
9532
9530
|
}
|
|
9533
9531
|
}
|
|
@@ -9548,7 +9546,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9548
9546
|
destructible |= 16;
|
|
9549
9547
|
value = parseMethodDefinition(parser, context, privateScope, state, inGroup, parser.tokenStart);
|
|
9550
9548
|
} else throw new ParseError(parser.tokenStart, parser.currentLocation, token === 209005 ? 46 : token === 209008 || parser.getToken() === 209009 ? 45 : 47, KeywordDescTable[token & 255]);
|
|
9551
|
-
} else if ((parser.getToken() &
|
|
9549
|
+
} else if ((parser.getToken() & 0x8000000) === 0x8000000) {
|
|
9552
9550
|
destructible |= 16;
|
|
9553
9551
|
key = parseLiteral(parser, context);
|
|
9554
9552
|
state |= 1;
|
|
@@ -9576,7 +9574,7 @@ function parseObjectLiteralOrPattern(parser, context, scope, privateScope, skipI
|
|
|
9576
9574
|
if (parser.getToken() !== 18) break;
|
|
9577
9575
|
nextToken(parser, context);
|
|
9578
9576
|
}
|
|
9579
|
-
consume(parser, context,
|
|
9577
|
+
consume(parser, context, 0x4010000f);
|
|
9580
9578
|
if (prototypeCount > 1) destructible |= 64;
|
|
9581
9579
|
const node = parser.finishNode({
|
|
9582
9580
|
type: isPattern ? "ObjectPattern" : "ObjectExpression",
|
|
@@ -9616,7 +9614,7 @@ function parseMethodFormals(parser, context, scope, privateScope, kind, type, in
|
|
|
9616
9614
|
isNonSimpleParameterList = 1;
|
|
9617
9615
|
if (parser.destructible & 48) parser.report(50);
|
|
9618
9616
|
}
|
|
9619
|
-
if (parser.getToken() ===
|
|
9617
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9620
9618
|
nextToken(parser, context | 32);
|
|
9621
9619
|
isNonSimpleParameterList = 1;
|
|
9622
9620
|
const right = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
@@ -9673,7 +9671,7 @@ function parseParenthesizedExpression(parser, context, privateScope, canAssign,
|
|
|
9673
9671
|
isNonSimpleParameterList = 1;
|
|
9674
9672
|
}
|
|
9675
9673
|
} else {
|
|
9676
|
-
if (parser.getToken() ===
|
|
9674
|
+
if (parser.getToken() === 0x4040001b) isNonSimpleParameterList = 1;
|
|
9677
9675
|
else destructible |= 16;
|
|
9678
9676
|
expr = parseMemberOrUpdateExpression(parser, context, privateScope, expr, 1, 0, tokenStart);
|
|
9679
9677
|
if (parser.getToken() !== 16 && parser.getToken() !== 18) expr = parseAssignmentExpression(parser, context, privateScope, 1, 0, tokenStart, expr);
|
|
@@ -9850,7 +9848,7 @@ function parseFormalParametersOrFormalList(parser, context, scope, privateScope,
|
|
|
9850
9848
|
isNonSimpleParameterList = 1;
|
|
9851
9849
|
if (parser.destructible & 48) parser.report(50);
|
|
9852
9850
|
}
|
|
9853
|
-
if (parser.getToken() ===
|
|
9851
|
+
if (parser.getToken() === 0x4040001b) {
|
|
9854
9852
|
nextToken(parser, context | 32);
|
|
9855
9853
|
isNonSimpleParameterList = 1;
|
|
9856
9854
|
const right = parseExpression(parser, context, privateScope, 1, inGroup, parser.tokenStart);
|
|
@@ -9981,7 +9979,7 @@ function parseAsyncArrowOrCallExpression(parser, context, privateScope, callee,
|
|
|
9981
9979
|
isNonSimpleParameterList = 1;
|
|
9982
9980
|
}
|
|
9983
9981
|
} else {
|
|
9984
|
-
if (parser.getToken() ===
|
|
9982
|
+
if (parser.getToken() === 0x4040001b) isNonSimpleParameterList = 1;
|
|
9985
9983
|
else destructible |= 16;
|
|
9986
9984
|
expr = parseMemberOrUpdateExpression(parser, context, privateScope, expr, 1, 0, tokenStart);
|
|
9987
9985
|
if (parser.getToken() !== 16 && parser.getToken() !== 18) expr = parseAssignmentExpression(parser, context, privateScope, 1, 0, tokenStart, expr);
|
|
@@ -10144,18 +10142,18 @@ function parseClassBody(parser, context, inheritedContext, scope, parentScope, k
|
|
|
10144
10142
|
const hasConstr = parser.flags & 32;
|
|
10145
10143
|
parser.flags = (parser.flags | 32) ^ 32;
|
|
10146
10144
|
const body = [];
|
|
10147
|
-
while (parser.getToken() !==
|
|
10145
|
+
while (parser.getToken() !== 0x4010000f) {
|
|
10148
10146
|
const decoratorStart = parser.tokenStart;
|
|
10149
10147
|
const decorators = parseDecorators(parser, context, privateScope);
|
|
10150
10148
|
if (decorators.length > 0 && parser.tokenValue === "constructor") parser.report(109);
|
|
10151
|
-
if (parser.getToken() ===
|
|
10152
|
-
if (consumeOpt(parser, context,
|
|
10149
|
+
if (parser.getToken() === 0x4010000f) parser.report(108);
|
|
10150
|
+
if (consumeOpt(parser, context, 0x40100011)) {
|
|
10153
10151
|
if (decorators.length > 0) parser.report(120);
|
|
10154
10152
|
continue;
|
|
10155
10153
|
}
|
|
10156
10154
|
body.push(parseClassElementList(parser, context, scope, privateScope, inheritedContext, kind, decorators, 0, inGroup, decorators.length > 0 ? decoratorStart : parser.tokenStart));
|
|
10157
10155
|
}
|
|
10158
|
-
consume(parser, origin & 8 ? context | 32 : context,
|
|
10156
|
+
consume(parser, origin & 8 ? context | 32 : context, 0x4010000f);
|
|
10159
10157
|
privateScope?.validatePrivateIdentifierRefs();
|
|
10160
10158
|
parser.flags = parser.flags & -33 | hasConstr;
|
|
10161
10159
|
return parser.finishNode({
|
|
@@ -10167,54 +10165,54 @@ function parseClassElementList(parser, context, scope, privateScope, inheritedCo
|
|
|
10167
10165
|
let kind = isStatic ? 32 : 0;
|
|
10168
10166
|
let key = null;
|
|
10169
10167
|
const token = parser.getToken();
|
|
10170
|
-
if (token & 176128 || token === -
|
|
10168
|
+
if (token & 176128 || token === -0x7fffff88) {
|
|
10171
10169
|
key = parseIdentifier(parser, context);
|
|
10172
10170
|
switch (token) {
|
|
10173
10171
|
case 36970:
|
|
10174
|
-
if (!isStatic && parser.getToken() !== 67174411 && (parser.getToken() & 1048576) !== 1048576 && parser.getToken() !==
|
|
10172
|
+
if (!isStatic && parser.getToken() !== 67174411 && (parser.getToken() & 1048576) !== 1048576 && parser.getToken() !== 0x4040001b) return parseClassElementList(parser, context, scope, privateScope, inheritedContext, type, decorators, 1, inGroup, start);
|
|
10175
10173
|
break;
|
|
10176
10174
|
case 209005:
|
|
10177
10175
|
if (parser.getToken() !== 67174411 && (parser.flags & 1) === 0) {
|
|
10178
|
-
if ((parser.getToken() &
|
|
10176
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10179
10177
|
kind |= 16 | (optionalBit(parser, context, 8391476) ? 8 : 0);
|
|
10180
10178
|
}
|
|
10181
10179
|
break;
|
|
10182
10180
|
case 209008:
|
|
10183
10181
|
if (parser.getToken() !== 67174411) {
|
|
10184
|
-
if ((parser.getToken() &
|
|
10182
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10185
10183
|
kind |= 256;
|
|
10186
10184
|
}
|
|
10187
10185
|
break;
|
|
10188
10186
|
case 209009:
|
|
10189
10187
|
if (parser.getToken() !== 67174411) {
|
|
10190
|
-
if ((parser.getToken() &
|
|
10188
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10191
10189
|
kind |= 512;
|
|
10192
10190
|
}
|
|
10193
10191
|
break;
|
|
10194
10192
|
case 12402: if (parser.getToken() !== 67174411 && (parser.flags & 1) === 0) {
|
|
10195
|
-
if ((parser.getToken() &
|
|
10193
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) return parsePropertyDefinition(parser, context, privateScope, key, kind, decorators, start);
|
|
10196
10194
|
if (parser.options.next) kind |= 1024;
|
|
10197
10195
|
}
|
|
10198
10196
|
}
|
|
10199
10197
|
} else if (token === 69271571) {
|
|
10200
10198
|
kind |= 2;
|
|
10201
10199
|
key = parseComputedPropertyName(parser, inheritedContext, privateScope, inGroup);
|
|
10202
|
-
} else if ((token &
|
|
10200
|
+
} else if ((token & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
10203
10201
|
else if (token === 8391476) {
|
|
10204
10202
|
kind |= 8;
|
|
10205
10203
|
nextToken(parser, context);
|
|
10206
10204
|
} else if (parser.getToken() === 130) {
|
|
10207
10205
|
kind |= 8192;
|
|
10208
10206
|
key = parsePrivateIdentifier(parser, context | 16, privateScope, 768);
|
|
10209
|
-
} else if ((parser.getToken() &
|
|
10207
|
+
} else if ((parser.getToken() & 0x40000000) === 0x40000000) kind |= 128;
|
|
10210
10208
|
else if (isStatic && token === 2162700) return parseStaticBlock(parser, context | 16, scope, privateScope, start);
|
|
10211
|
-
else if (token === -
|
|
10209
|
+
else if (token === -0x7fffff87) {
|
|
10212
10210
|
key = parseIdentifier(parser, context);
|
|
10213
10211
|
if (parser.getToken() !== 67174411) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10214
10212
|
} else parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10215
10213
|
if (kind & 1816) {
|
|
10216
|
-
if (parser.getToken() & 143360 || parser.getToken() === -
|
|
10217
|
-
else if ((parser.getToken() &
|
|
10214
|
+
if (parser.getToken() & 143360 || parser.getToken() === -0x7fffff88 || parser.getToken() === -0x7fffff87) key = parseIdentifier(parser, context);
|
|
10215
|
+
else if ((parser.getToken() & 0x8000000) === 0x8000000) key = parseLiteral(parser, context);
|
|
10218
10216
|
else if (parser.getToken() === 69271571) {
|
|
10219
10217
|
kind |= 2;
|
|
10220
10218
|
key = parseComputedPropertyName(parser, context, privateScope, 0);
|
|
@@ -10225,7 +10223,7 @@ function parseClassElementList(parser, context, scope, privateScope, inheritedCo
|
|
|
10225
10223
|
}
|
|
10226
10224
|
if ((kind & 2) === 0) {
|
|
10227
10225
|
if (parser.tokenValue === "constructor") {
|
|
10228
|
-
if ((parser.getToken() &
|
|
10226
|
+
if ((parser.getToken() & 0x40000000) === 0x40000000) parser.report(129);
|
|
10229
10227
|
else if ((kind & 32) === 0 && parser.getToken() === 67174411) {
|
|
10230
10228
|
if (kind & 920) parser.report(53, "accessor");
|
|
10231
10229
|
else if ((context & 512) === 0) {
|
|
@@ -10267,14 +10265,14 @@ function parsePrivateIdentifier(parser, context, privateScope, kind) {
|
|
|
10267
10265
|
function parsePropertyDefinition(parser, context, privateScope, key, state, decorators, start) {
|
|
10268
10266
|
let value = null;
|
|
10269
10267
|
if (state & 8) parser.report(0);
|
|
10270
|
-
if (parser.getToken() ===
|
|
10268
|
+
if (parser.getToken() === 0x4040001b) {
|
|
10271
10269
|
nextToken(parser, context | 32);
|
|
10272
10270
|
const { tokenStart } = parser;
|
|
10273
10271
|
if (parser.getToken() === 537079927) parser.report(119);
|
|
10274
10272
|
const modifierFlags = 11264 | ((state & 64) === 0 ? 16896 : 0);
|
|
10275
10273
|
context = (context | modifierFlags) ^ modifierFlags | (state & 8 ? 1024 : 0) | (state & 16 ? 2048 : 0) | (state & 64 ? 16384 : 0) | 65792;
|
|
10276
10274
|
value = parsePrimaryExpression(parser, context | 16, privateScope, 2, 0, 1, 0, 1, tokenStart);
|
|
10277
|
-
if ((parser.getToken() &
|
|
10275
|
+
if ((parser.getToken() & 0x40000000) !== 0x40000000 || (parser.getToken() & 4194304) === 4194304) {
|
|
10278
10276
|
value = parseMemberOrUpdateExpression(parser, context | 16, privateScope, value, 0, 0, tokenStart);
|
|
10279
10277
|
value = parseAssignmentExpression(parser, context | 16, privateScope, 0, 0, tokenStart, value);
|
|
10280
10278
|
}
|
|
@@ -10290,7 +10288,7 @@ function parsePropertyDefinition(parser, context, privateScope, key, state, deco
|
|
|
10290
10288
|
}, start);
|
|
10291
10289
|
}
|
|
10292
10290
|
function parseBindingPattern(parser, context, scope, privateScope, type, origin) {
|
|
10293
|
-
if (parser.getToken() & 143360 || (context & 1) === 0 && parser.getToken() === -
|
|
10291
|
+
if (parser.getToken() & 143360 || (context & 1) === 0 && parser.getToken() === -0x7fffff87) return parseAndClassifyIdentifier(parser, context, scope, type, origin);
|
|
10294
10292
|
if ((parser.getToken() & 2097152) !== 2097152) parser.report(30, KeywordDescTable[parser.getToken() & 255]);
|
|
10295
10293
|
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);
|
|
10296
10294
|
if (parser.destructible & 16) parser.report(50);
|
|
@@ -10301,7 +10299,7 @@ function parseAndClassifyIdentifier(parser, context, scope, kind, origin) {
|
|
|
10301
10299
|
const token = parser.getToken();
|
|
10302
10300
|
if (context & 1) {
|
|
10303
10301
|
if ((token & 537079808) === 537079808) parser.report(119);
|
|
10304
|
-
else if ((token & 36864) === 36864 || token === -
|
|
10302
|
+
else if ((token & 36864) === 36864 || token === -0x7fffff87) parser.report(118);
|
|
10305
10303
|
}
|
|
10306
10304
|
if ((token & 20480) === 20480) parser.report(102);
|
|
10307
10305
|
if (token === 241771) {
|
|
@@ -10466,7 +10464,7 @@ function parseJSXSpreadAttribute(parser, context, privateScope) {
|
|
|
10466
10464
|
nextToken(parser, context);
|
|
10467
10465
|
consume(parser, context, 14);
|
|
10468
10466
|
const expression = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
10469
|
-
consume(parser, context,
|
|
10467
|
+
consume(parser, context, 0x4010000f);
|
|
10470
10468
|
return parser.finishNode({
|
|
10471
10469
|
type: "JSXSpreadAttribute",
|
|
10472
10470
|
argument: expression
|
|
@@ -10479,8 +10477,8 @@ function parseJsxAttribute(parser, context, privateScope) {
|
|
|
10479
10477
|
let value = null;
|
|
10480
10478
|
let name = parseJSXIdentifier(parser, context);
|
|
10481
10479
|
if (parser.getToken() === 21) name = parseJSXNamespacedName(parser, context, name, tokenStart);
|
|
10482
|
-
if (parser.getToken() ===
|
|
10483
|
-
case
|
|
10480
|
+
if (parser.getToken() === 0x4040001b) switch (scanJSXAttributeValue(parser, context)) {
|
|
10481
|
+
case 0x8010003:
|
|
10484
10482
|
value = parseLiteral(parser, context);
|
|
10485
10483
|
break;
|
|
10486
10484
|
case 8456256:
|
|
@@ -10512,7 +10510,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10512
10510
|
const { tokenStart } = parser;
|
|
10513
10511
|
if (parser.getToken() === 14) return parseJSXSpreadChild(parser, context, privateScope, start);
|
|
10514
10512
|
let expression = null;
|
|
10515
|
-
if (parser.getToken() ===
|
|
10513
|
+
if (parser.getToken() === 0x4010000f) {
|
|
10516
10514
|
if (isAttr) parser.report(157);
|
|
10517
10515
|
expression = parseJSXEmptyExpression(parser, {
|
|
10518
10516
|
index: parser.startIndex,
|
|
@@ -10520,7 +10518,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10520
10518
|
column: parser.startColumn
|
|
10521
10519
|
});
|
|
10522
10520
|
} else expression = parseExpression(parser, context, privateScope, 1, 0, tokenStart);
|
|
10523
|
-
if (parser.getToken() !==
|
|
10521
|
+
if (parser.getToken() !== 0x4010000f) parser.report(25, KeywordDescTable[15]);
|
|
10524
10522
|
if (inJSXChild) nextJSXToken(parser);
|
|
10525
10523
|
else nextToken(parser, context);
|
|
10526
10524
|
return parser.finishNode({
|
|
@@ -10531,7 +10529,7 @@ function parseJSXExpressionContainer(parser, context, privateScope, inJSXChild,
|
|
|
10531
10529
|
function parseJSXSpreadChild(parser, context, privateScope, start) {
|
|
10532
10530
|
consume(parser, context, 14);
|
|
10533
10531
|
const expression = parseExpression(parser, context, privateScope, 1, 0, parser.tokenStart);
|
|
10534
|
-
consume(parser, context,
|
|
10532
|
+
consume(parser, context, 0x4010000f);
|
|
10535
10533
|
return parser.finishNode({
|
|
10536
10534
|
type: "JSXSpreadChild",
|
|
10537
10535
|
expression
|