@engine262/engine262 0.0.1-01e9fa95a4e8a1c042efd00492309a2de4998fd0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +19 -0
- package/README.md +149 -0
- package/bin/engine262.js +5 -0
- package/declaration/abstract-ops/all.d.mts +39 -0
- package/declaration/abstract-ops/all.d.mts.map +1 -0
- package/declaration/abstract-ops/arguments-operations.d.mts +14 -0
- package/declaration/abstract-ops/arguments-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/array-objects.d.mts +20 -0
- package/declaration/abstract-ops/array-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/arraybuffer-objects.d.mts +43 -0
- package/declaration/abstract-ops/arraybuffer-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/async-function-operations.d.mts +7 -0
- package/declaration/abstract-ops/async-function-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/async-generator-objects.d.mts +35 -0
- package/declaration/abstract-ops/async-generator-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/data-types-and-values.d.mts +6 -0
- package/declaration/abstract-ops/data-types-and-values.d.mts.map +1 -0
- package/declaration/abstract-ops/dataview-objects.d.mts +20 -0
- package/declaration/abstract-ops/dataview-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/date-objects.d.mts +57 -0
- package/declaration/abstract-ops/date-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/disposable-operations.d.mts +19 -0
- package/declaration/abstract-ops/disposable-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/error-objects.d.mts +8 -0
- package/declaration/abstract-ops/error-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/execution-contexts.d.mts +3 -0
- package/declaration/abstract-ops/execution-contexts.d.mts.map +1 -0
- package/declaration/abstract-ops/function-operations.d.mts +101 -0
- package/declaration/abstract-ops/function-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/generator-operations.d.mts +33 -0
- package/declaration/abstract-ops/generator-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/global-object.d.mts +11 -0
- package/declaration/abstract-ops/global-object.d.mts.map +1 -0
- package/declaration/abstract-ops/immutable-prototype-objects.d.mts +7 -0
- package/declaration/abstract-ops/immutable-prototype-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/import-calls.d.mts +5 -0
- package/declaration/abstract-ops/import-calls.d.mts.map +1 -0
- package/declaration/abstract-ops/iterator-operations.d.mts +53 -0
- package/declaration/abstract-ops/iterator-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/keyed-collections.d.mts +4 -0
- package/declaration/abstract-ops/keyed-collections.d.mts.map +1 -0
- package/declaration/abstract-ops/math.d.mts +23 -0
- package/declaration/abstract-ops/math.d.mts.map +1 -0
- package/declaration/abstract-ops/module-namespace-exotic-objects.d.mts +13 -0
- package/declaration/abstract-ops/module-namespace-exotic-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/module-records.d.mts +64 -0
- package/declaration/abstract-ops/module-records.d.mts.map +1 -0
- package/declaration/abstract-ops/notational-conventions.d.mts +19 -0
- package/declaration/abstract-ops/notational-conventions.d.mts.map +1 -0
- package/declaration/abstract-ops/object-operations.d.mts +79 -0
- package/declaration/abstract-ops/object-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/objects.d.mts +32 -0
- package/declaration/abstract-ops/objects.d.mts.map +1 -0
- package/declaration/abstract-ops/private-names.d.mts +15 -0
- package/declaration/abstract-ops/private-names.d.mts.map +1 -0
- package/declaration/abstract-ops/promise-operations.d.mts +49 -0
- package/declaration/abstract-ops/promise-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/proxy-objects.d.mts +6 -0
- package/declaration/abstract-ops/proxy-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/realms.d.mts +181 -0
- package/declaration/abstract-ops/realms.d.mts.map +1 -0
- package/declaration/abstract-ops/reference-operations.d.mts +28 -0
- package/declaration/abstract-ops/reference-operations.d.mts.map +1 -0
- package/declaration/abstract-ops/regexp-objects.d.mts +28 -0
- package/declaration/abstract-ops/regexp-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/shadow-realm.d.mts +26 -0
- package/declaration/abstract-ops/shadow-realm.d.mts.map +1 -0
- package/declaration/abstract-ops/shared-arraybuffer.d.mts +4 -0
- package/declaration/abstract-ops/shared-arraybuffer.d.mts.map +1 -0
- package/declaration/abstract-ops/spec-types.d.mts +53 -0
- package/declaration/abstract-ops/spec-types.d.mts.map +1 -0
- package/declaration/abstract-ops/string-objects.d.mts +8 -0
- package/declaration/abstract-ops/string-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/symbol-objects.d.mts +11 -0
- package/declaration/abstract-ops/symbol-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/addition.d.mts +62 -0
- package/declaration/abstract-ops/temporal/addition.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/all.d.mts +13 -0
- package/declaration/abstract-ops/temporal/all.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/calendar.d.mts +203 -0
- package/declaration/abstract-ops/temporal/calendar.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/duration.d.mts +126 -0
- package/declaration/abstract-ops/temporal/duration.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/instant.d.mts +25 -0
- package/declaration/abstract-ops/temporal/instant.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/not-implemented.d.mts +5 -0
- package/declaration/abstract-ops/temporal/not-implemented.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/now.d.mts +11 -0
- package/declaration/abstract-ops/temporal/now.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/plain-date-time.d.mts +36 -0
- package/declaration/abstract-ops/temporal/plain-date-time.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/plain-date.d.mts +32 -0
- package/declaration/abstract-ops/temporal/plain-date.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/plain-month-day.d.mts +10 -0
- package/declaration/abstract-ops/temporal/plain-month-day.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/plain-time.d.mts +58 -0
- package/declaration/abstract-ops/temporal/plain-time.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/plain-year-month.d.mts +19 -0
- package/declaration/abstract-ops/temporal/plain-year-month.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/temporal.d.mts +157 -0
- package/declaration/abstract-ops/temporal/temporal.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/time-zone.d.mts +26 -0
- package/declaration/abstract-ops/temporal/time-zone.d.mts.map +1 -0
- package/declaration/abstract-ops/temporal/zoned-datetime.d.mts +28 -0
- package/declaration/abstract-ops/temporal/zoned-datetime.d.mts.map +1 -0
- package/declaration/abstract-ops/testing-comparison.d.mts +35 -0
- package/declaration/abstract-ops/testing-comparison.d.mts.map +1 -0
- package/declaration/abstract-ops/type-conversion.d.mts +62 -0
- package/declaration/abstract-ops/type-conversion.d.mts.map +1 -0
- package/declaration/abstract-ops/typedarray-objects.d.mts +33 -0
- package/declaration/abstract-ops/typedarray-objects.d.mts.map +1 -0
- package/declaration/abstract-ops/weak-operations.d.mts +4 -0
- package/declaration/abstract-ops/weak-operations.d.mts.map +1 -0
- package/declaration/api.d.mts +76 -0
- package/declaration/api.d.mts.map +1 -0
- package/declaration/completion.d.mts +156 -0
- package/declaration/completion.d.mts.map +1 -0
- package/declaration/ecma402/not-implemented.d.mts +3 -0
- package/declaration/ecma402/not-implemented.d.mts.map +1 -0
- package/declaration/evaluator.d.mts +61 -0
- package/declaration/evaluator.d.mts.map +1 -0
- package/declaration/execution-context/Agent.d.mts +75 -0
- package/declaration/execution-context/Agent.d.mts.map +1 -0
- package/declaration/execution-context/Environment.d.mts +175 -0
- package/declaration/execution-context/Environment.d.mts.map +1 -0
- package/declaration/execution-context/ExecutionContext.d.mts +48 -0
- package/declaration/execution-context/ExecutionContext.d.mts.map +1 -0
- package/declaration/execution-context/Job.d.mts +23 -0
- package/declaration/execution-context/Job.d.mts.map +1 -0
- package/declaration/execution-context/PrivateEnvironment.d.mts +12 -0
- package/declaration/execution-context/PrivateEnvironment.d.mts.map +1 -0
- package/declaration/execution-context/Realm.d.mts +24 -0
- package/declaration/execution-context/Realm.d.mts.map +1 -0
- package/declaration/execution-context/WeakReference.d.mts +12 -0
- package/declaration/execution-context/WeakReference.d.mts.map +1 -0
- package/declaration/execution-context/all.d.mts +8 -0
- package/declaration/execution-context/all.d.mts.map +1 -0
- package/declaration/host-defined/base64.d.mts +10 -0
- package/declaration/host-defined/base64.d.mts.map +1 -0
- package/declaration/host-defined/debugger-util.d.mts +2 -0
- package/declaration/host-defined/debugger-util.d.mts.map +1 -0
- package/declaration/host-defined/decimal.d.mts +29 -0
- package/declaration/host-defined/decimal.d.mts.map +1 -0
- package/declaration/host-defined/devtoolsEval.d.mts +3 -0
- package/declaration/host-defined/devtoolsEval.d.mts.map +1 -0
- package/declaration/host-defined/engine.d.mts +133 -0
- package/declaration/host-defined/engine.d.mts.map +1 -0
- package/declaration/host-defined/error-messages.d.mts +45 -0
- package/declaration/host-defined/error-messages.d.mts.map +1 -0
- package/declaration/host-defined/event-loop.d.mts +92 -0
- package/declaration/host-defined/event-loop.d.mts.map +1 -0
- package/declaration/host-defined/ieee754.d.mts +7 -0
- package/declaration/host-defined/ieee754.d.mts.map +1 -0
- package/declaration/host-defined/inspect.d.mts +4 -0
- package/declaration/host-defined/inspect.d.mts.map +1 -0
- package/declaration/host-defined/job-queue.d.mts +42 -0
- package/declaration/host-defined/job-queue.d.mts.map +1 -0
- package/declaration/host-defined/sort.d.mts +14 -0
- package/declaration/host-defined/sort.d.mts.map +1 -0
- package/declaration/host-defined/test262-intrinsics.d.mts +8 -0
- package/declaration/host-defined/test262-intrinsics.d.mts.map +1 -0
- package/declaration/index.d.mts +56 -0
- package/declaration/index.d.mts.map +1 -0
- package/declaration/intrinsics/AbstractModuleSource.d.mts +5 -0
- package/declaration/intrinsics/AbstractModuleSource.d.mts.map +1 -0
- package/declaration/intrinsics/AggregateError.d.mts +3 -0
- package/declaration/intrinsics/AggregateError.d.mts.map +1 -0
- package/declaration/intrinsics/AggregateErrorPrototype.d.mts +3 -0
- package/declaration/intrinsics/AggregateErrorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Array.d.mts +3 -0
- package/declaration/intrinsics/Array.d.mts.map +1 -0
- package/declaration/intrinsics/ArrayBuffer.d.mts +3 -0
- package/declaration/intrinsics/ArrayBuffer.d.mts.map +1 -0
- package/declaration/intrinsics/ArrayBufferPrototype.d.mts +3 -0
- package/declaration/intrinsics/ArrayBufferPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ArrayIteratorPrototype.d.mts +3 -0
- package/declaration/intrinsics/ArrayIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ArrayPrototype.d.mts +3 -0
- package/declaration/intrinsics/ArrayPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ArrayPrototypeShared.d.mts +8 -0
- package/declaration/intrinsics/ArrayPrototypeShared.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncDisposableStack.d.mts +8 -0
- package/declaration/intrinsics/AsyncDisposableStack.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncDisposableStackPrototype.d.mts +3 -0
- package/declaration/intrinsics/AsyncDisposableStackPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncFromSyncIteratorPrototype.d.mts +6 -0
- package/declaration/intrinsics/AsyncFromSyncIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncFunction.d.mts +3 -0
- package/declaration/intrinsics/AsyncFunction.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncFunctionPrototype.d.mts +3 -0
- package/declaration/intrinsics/AsyncFunctionPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncGeneratorFunction.d.mts +3 -0
- package/declaration/intrinsics/AsyncGeneratorFunction.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncGeneratorFunctionPrototype.d.mts +3 -0
- package/declaration/intrinsics/AsyncGeneratorFunctionPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncGeneratorFunctionPrototypePrototype.d.mts +3 -0
- package/declaration/intrinsics/AsyncGeneratorFunctionPrototypePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/AsyncIteratorPrototype.d.mts +3 -0
- package/declaration/intrinsics/AsyncIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/BigInt.d.mts +8 -0
- package/declaration/intrinsics/BigInt.d.mts.map +1 -0
- package/declaration/intrinsics/BigIntPrototype.d.mts +6 -0
- package/declaration/intrinsics/BigIntPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Boolean.d.mts +8 -0
- package/declaration/intrinsics/Boolean.d.mts.map +1 -0
- package/declaration/intrinsics/BooleanPrototype.d.mts +5 -0
- package/declaration/intrinsics/BooleanPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/DataView.d.mts +12 -0
- package/declaration/intrinsics/DataView.d.mts.map +1 -0
- package/declaration/intrinsics/DataViewPrototype.d.mts +3 -0
- package/declaration/intrinsics/DataViewPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Date.d.mts +8 -0
- package/declaration/intrinsics/Date.d.mts.map +1 -0
- package/declaration/intrinsics/DatePrototype.d.mts +12 -0
- package/declaration/intrinsics/DatePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/DisposableStack.d.mts +8 -0
- package/declaration/intrinsics/DisposableStack.d.mts.map +1 -0
- package/declaration/intrinsics/DisposableStackPrototype.d.mts +3 -0
- package/declaration/intrinsics/DisposableStackPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Error.d.mts +18 -0
- package/declaration/intrinsics/Error.d.mts.map +1 -0
- package/declaration/intrinsics/ErrorPrototype.d.mts +3 -0
- package/declaration/intrinsics/ErrorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/FinalizationRegistry.d.mts +16 -0
- package/declaration/intrinsics/FinalizationRegistry.d.mts.map +1 -0
- package/declaration/intrinsics/FinalizationRegistryPrototype.d.mts +3 -0
- package/declaration/intrinsics/FinalizationRegistryPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ForInIteratorPrototype.d.mts +13 -0
- package/declaration/intrinsics/ForInIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Function.d.mts +3 -0
- package/declaration/intrinsics/Function.d.mts.map +1 -0
- package/declaration/intrinsics/FunctionPrototype.d.mts +13 -0
- package/declaration/intrinsics/FunctionPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/GeneratorFunction.d.mts +3 -0
- package/declaration/intrinsics/GeneratorFunction.d.mts.map +1 -0
- package/declaration/intrinsics/GeneratorFunctionPrototype.d.mts +3 -0
- package/declaration/intrinsics/GeneratorFunctionPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/GeneratorFunctionPrototypePrototype.d.mts +3 -0
- package/declaration/intrinsics/GeneratorFunctionPrototypePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Iterator.d.mts +3 -0
- package/declaration/intrinsics/Iterator.d.mts.map +1 -0
- package/declaration/intrinsics/IteratorHelperPrototype.d.mts +3 -0
- package/declaration/intrinsics/IteratorHelperPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/IteratorPrototype.d.mts +3 -0
- package/declaration/intrinsics/IteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/JSON.d.mts +9 -0
- package/declaration/intrinsics/JSON.d.mts.map +1 -0
- package/declaration/intrinsics/Map.d.mts +13 -0
- package/declaration/intrinsics/Map.d.mts.map +1 -0
- package/declaration/intrinsics/MapIteratorPrototype.d.mts +7 -0
- package/declaration/intrinsics/MapIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/MapPrototype.d.mts +3 -0
- package/declaration/intrinsics/MapPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Math.d.mts +4 -0
- package/declaration/intrinsics/Math.d.mts.map +1 -0
- package/declaration/intrinsics/NativeError.d.mts +6 -0
- package/declaration/intrinsics/NativeError.d.mts.map +1 -0
- package/declaration/intrinsics/Number.d.mts +8 -0
- package/declaration/intrinsics/Number.d.mts.map +1 -0
- package/declaration/intrinsics/NumberPrototype.d.mts +5 -0
- package/declaration/intrinsics/NumberPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Object.d.mts +3 -0
- package/declaration/intrinsics/Object.d.mts.map +1 -0
- package/declaration/intrinsics/ObjectPrototype.d.mts +5 -0
- package/declaration/intrinsics/ObjectPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Promise.d.mts +18 -0
- package/declaration/intrinsics/Promise.d.mts.map +1 -0
- package/declaration/intrinsics/PromisePrototype.d.mts +3 -0
- package/declaration/intrinsics/PromisePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Proxy.d.mts +12 -0
- package/declaration/intrinsics/Proxy.d.mts.map +1 -0
- package/declaration/intrinsics/Reflect.d.mts +3 -0
- package/declaration/intrinsics/Reflect.d.mts.map +1 -0
- package/declaration/intrinsics/RegExp.d.mts +13 -0
- package/declaration/intrinsics/RegExp.d.mts.map +1 -0
- package/declaration/intrinsics/RegExpPrototype.d.mts +12 -0
- package/declaration/intrinsics/RegExpPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/RegExpStringIteratorPrototype.d.mts +7 -0
- package/declaration/intrinsics/RegExpStringIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Set.d.mts +8 -0
- package/declaration/intrinsics/Set.d.mts.map +1 -0
- package/declaration/intrinsics/SetIteratorPrototype.d.mts +7 -0
- package/declaration/intrinsics/SetIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/SetPrototype.d.mts +3 -0
- package/declaration/intrinsics/SetPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ShadowRealm.d.mts +8 -0
- package/declaration/intrinsics/ShadowRealm.d.mts.map +1 -0
- package/declaration/intrinsics/ShadowRealmPrototype.d.mts +3 -0
- package/declaration/intrinsics/ShadowRealmPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/String.d.mts +10 -0
- package/declaration/intrinsics/String.d.mts.map +1 -0
- package/declaration/intrinsics/StringIteratorPrototype.d.mts +3 -0
- package/declaration/intrinsics/StringIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/StringPrototype.d.mts +6 -0
- package/declaration/intrinsics/StringPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/SuppressedError.d.mts +3 -0
- package/declaration/intrinsics/SuppressedError.d.mts.map +1 -0
- package/declaration/intrinsics/SuppressedErrorPrototype.d.mts +3 -0
- package/declaration/intrinsics/SuppressedErrorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Symbol.d.mts +8 -0
- package/declaration/intrinsics/Symbol.d.mts.map +1 -0
- package/declaration/intrinsics/SymbolPrototype.d.mts +6 -0
- package/declaration/intrinsics/SymbolPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/Duration.d.mts +18 -0
- package/declaration/intrinsics/Temporal/Duration.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/DurationPrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/DurationPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/Instant.d.mts +9 -0
- package/declaration/intrinsics/Temporal/Instant.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/InstantPrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/InstantPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/Now.d.mts +3 -0
- package/declaration/intrinsics/Temporal/Now.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainDate.d.mts +16 -0
- package/declaration/intrinsics/Temporal/PlainDate.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainDatePrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/PlainDatePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainDateTime.d.mts +17 -0
- package/declaration/intrinsics/Temporal/PlainDateTime.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainDateTimePrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/PlainDateTimePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainMonthDay.d.mts +12 -0
- package/declaration/intrinsics/Temporal/PlainMonthDay.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainMonthDayPrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/PlainMonthDayPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainTime.d.mts +9 -0
- package/declaration/intrinsics/Temporal/PlainTime.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainTimePrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/PlainTimePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainYearMonth.d.mts +17 -0
- package/declaration/intrinsics/Temporal/PlainYearMonth.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/PlainYearMonthPrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/PlainYearMonthPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/Temporal.d.mts +3 -0
- package/declaration/intrinsics/Temporal/Temporal.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/ZonedDateTime.d.mts +13 -0
- package/declaration/intrinsics/Temporal/ZonedDateTime.d.mts.map +1 -0
- package/declaration/intrinsics/Temporal/ZonedDateTimePrototype.d.mts +3 -0
- package/declaration/intrinsics/Temporal/ZonedDateTimePrototype.d.mts.map +1 -0
- package/declaration/intrinsics/ThrowTypeError.d.mts +3 -0
- package/declaration/intrinsics/ThrowTypeError.d.mts.map +1 -0
- package/declaration/intrinsics/TypedArray.d.mts +196 -0
- package/declaration/intrinsics/TypedArray.d.mts.map +1 -0
- package/declaration/intrinsics/TypedArrayConstructors.d.mts +3 -0
- package/declaration/intrinsics/TypedArrayConstructors.d.mts.map +1 -0
- package/declaration/intrinsics/TypedArrayPrototype.d.mts +3 -0
- package/declaration/intrinsics/TypedArrayPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/TypedArrayPrototypes.d.mts +4 -0
- package/declaration/intrinsics/TypedArrayPrototypes.d.mts.map +1 -0
- package/declaration/intrinsics/TypedArray_Uint8Array.d.mts +3 -0
- package/declaration/intrinsics/TypedArray_Uint8Array.d.mts.map +1 -0
- package/declaration/intrinsics/URIHandling.d.mts +3 -0
- package/declaration/intrinsics/URIHandling.d.mts.map +1 -0
- package/declaration/intrinsics/WeakMap.d.mts +11 -0
- package/declaration/intrinsics/WeakMap.d.mts.map +1 -0
- package/declaration/intrinsics/WeakMapPrototype.d.mts +3 -0
- package/declaration/intrinsics/WeakMapPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/WeakRef.d.mts +8 -0
- package/declaration/intrinsics/WeakRef.d.mts.map +1 -0
- package/declaration/intrinsics/WeakRefPrototype.d.mts +3 -0
- package/declaration/intrinsics/WeakRefPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/WeakSet.d.mts +8 -0
- package/declaration/intrinsics/WeakSet.d.mts.map +1 -0
- package/declaration/intrinsics/WeakSetPrototype.d.mts +3 -0
- package/declaration/intrinsics/WeakSetPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/WrapForValidIteratorPrototype.d.mts +3 -0
- package/declaration/intrinsics/WrapForValidIteratorPrototype.d.mts.map +1 -0
- package/declaration/intrinsics/bootstrap.d.mts +19 -0
- package/declaration/intrinsics/bootstrap.d.mts.map +1 -0
- package/declaration/intrinsics/eval.d.mts +3 -0
- package/declaration/intrinsics/eval.d.mts.map +1 -0
- package/declaration/intrinsics/isFinite.d.mts +3 -0
- package/declaration/intrinsics/isFinite.d.mts.map +1 -0
- package/declaration/intrinsics/isNaN.d.mts +3 -0
- package/declaration/intrinsics/isNaN.d.mts.map +1 -0
- package/declaration/intrinsics/parseFloat.d.mts +3 -0
- package/declaration/intrinsics/parseFloat.d.mts.map +1 -0
- package/declaration/intrinsics/parseInt.d.mts +3 -0
- package/declaration/intrinsics/parseInt.d.mts.map +1 -0
- package/declaration/modules.d.mts +126 -0
- package/declaration/modules.d.mts.map +1 -0
- package/declaration/parse.d.mts +35 -0
- package/declaration/parse.d.mts.map +1 -0
- package/declaration/parser/BaseParser.d.mts +24 -0
- package/declaration/parser/BaseParser.d.mts.map +1 -0
- package/declaration/parser/ExpressionParser.d.mts +70 -0
- package/declaration/parser/ExpressionParser.d.mts.map +1 -0
- package/declaration/parser/FunctionParser.d.mts +43 -0
- package/declaration/parser/FunctionParser.d.mts.map +1 -0
- package/declaration/parser/IdentifierParser.d.mts +12 -0
- package/declaration/parser/IdentifierParser.d.mts.map +1 -0
- package/declaration/parser/LanguageParser.d.mts +10 -0
- package/declaration/parser/LanguageParser.d.mts.map +1 -0
- package/declaration/parser/Lexer.d.mts +76 -0
- package/declaration/parser/Lexer.d.mts.map +1 -0
- package/declaration/parser/ModuleParser.d.mts +19 -0
- package/declaration/parser/ModuleParser.d.mts.map +1 -0
- package/declaration/parser/ParseNode.d.mts +1323 -0
- package/declaration/parser/ParseNode.d.mts.map +1 -0
- package/declaration/parser/Parser.d.mts +30 -0
- package/declaration/parser/Parser.d.mts.map +1 -0
- package/declaration/parser/RegExpParser.d.mts +67 -0
- package/declaration/parser/RegExpParser.d.mts.map +1 -0
- package/declaration/parser/Scope.d.mts +114 -0
- package/declaration/parser/Scope.d.mts.map +1 -0
- package/declaration/parser/StatementParser.d.mts +56 -0
- package/declaration/parser/StatementParser.d.mts.map +1 -0
- package/declaration/parser/TemporalParser.d.mts +211 -0
- package/declaration/parser/TemporalParser.d.mts.map +1 -0
- package/declaration/parser/tokens.d.mts +31 -0
- package/declaration/parser/tokens.d.mts.map +1 -0
- package/declaration/parser/utils.d.mts +10 -0
- package/declaration/parser/utils.d.mts.map +1 -0
- package/declaration/runtime-semantics/AdditiveExpression.d.mts +3 -0
- package/declaration/runtime-semantics/AdditiveExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ApplyStringOrNumericBinaryOperator.d.mts +5 -0
- package/declaration/runtime-semantics/ApplyStringOrNumericBinaryOperator.d.mts.map +1 -0
- package/declaration/runtime-semantics/ArgumentListEvaluation.d.mts +5 -0
- package/declaration/runtime-semantics/ArgumentListEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/ArrayLiteral.d.mts +5 -0
- package/declaration/runtime-semantics/ArrayLiteral.d.mts.map +1 -0
- package/declaration/runtime-semantics/ArrowFunction.d.mts +4 -0
- package/declaration/runtime-semantics/ArrowFunction.d.mts.map +1 -0
- package/declaration/runtime-semantics/AssignmentExpression.d.mts +8 -0
- package/declaration/runtime-semantics/AssignmentExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/AsyncArrowFunction.d.mts +4 -0
- package/declaration/runtime-semantics/AsyncArrowFunction.d.mts.map +1 -0
- package/declaration/runtime-semantics/AsyncFunctionExpression.d.mts +4 -0
- package/declaration/runtime-semantics/AsyncFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/AsyncGeneratorExpression.d.mts +4 -0
- package/declaration/runtime-semantics/AsyncGeneratorExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/AwaitExpression.d.mts +5 -0
- package/declaration/runtime-semantics/AwaitExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/BindingInitialization.d.mts +8 -0
- package/declaration/runtime-semantics/BindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/BitwiseOperators.d.mts +5 -0
- package/declaration/runtime-semantics/BitwiseOperators.d.mts.map +1 -0
- package/declaration/runtime-semantics/Block.d.mts +8 -0
- package/declaration/runtime-semantics/Block.d.mts.map +1 -0
- package/declaration/runtime-semantics/BreakStatement.d.mts +4 -0
- package/declaration/runtime-semantics/BreakStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/BreakableStatement.d.mts +4 -0
- package/declaration/runtime-semantics/BreakableStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/CallExpression.d.mts +5 -0
- package/declaration/runtime-semantics/CallExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ClassDeclaration.d.mts +8 -0
- package/declaration/runtime-semantics/ClassDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/ClassDefinitionEvaluation.d.mts +88 -0
- package/declaration/runtime-semantics/ClassDefinitionEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/ClassExpression.d.mts +5 -0
- package/declaration/runtime-semantics/ClassExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ClassFieldDefinitionEvaluation.d.mts +21 -0
- package/declaration/runtime-semantics/ClassFieldDefinitionEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/ClassStaticBlockDefinitionEvaluation.d.mts +13 -0
- package/declaration/runtime-semantics/ClassStaticBlockDefinitionEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/CoalesceExpression.d.mts +5 -0
- package/declaration/runtime-semantics/CoalesceExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/CommaOperator.d.mts +5 -0
- package/declaration/runtime-semantics/CommaOperator.d.mts.map +1 -0
- package/declaration/runtime-semantics/ConditionalExpression.d.mts +5 -0
- package/declaration/runtime-semantics/ConditionalExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ContinueStatement.d.mts +4 -0
- package/declaration/runtime-semantics/ContinueStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/CreateDynamicFunction.d.mts +4 -0
- package/declaration/runtime-semantics/CreateDynamicFunction.d.mts.map +1 -0
- package/declaration/runtime-semantics/DebuggerStatement.d.mts +5 -0
- package/declaration/runtime-semantics/DebuggerStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/DefineMethod.d.mts +10 -0
- package/declaration/runtime-semantics/DefineMethod.d.mts.map +1 -0
- package/declaration/runtime-semantics/DestructuringAssignmentEvaluation.d.mts +5 -0
- package/declaration/runtime-semantics/DestructuringAssignmentEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/EmptyStatement.d.mts +5 -0
- package/declaration/runtime-semantics/EmptyStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/EqualityExpression.d.mts +6 -0
- package/declaration/runtime-semantics/EqualityExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/EvaluateBody.d.mts +37 -0
- package/declaration/runtime-semantics/EvaluateBody.d.mts.map +1 -0
- package/declaration/runtime-semantics/EvaluateCall.d.mts +5 -0
- package/declaration/runtime-semantics/EvaluateCall.d.mts.map +1 -0
- package/declaration/runtime-semantics/EvaluatePropertyAccess.d.mts +9 -0
- package/declaration/runtime-semantics/EvaluatePropertyAccess.d.mts.map +1 -0
- package/declaration/runtime-semantics/EvaluateStringOrNumericBinaryExpression.d.mts +6 -0
- package/declaration/runtime-semantics/EvaluateStringOrNumericBinaryExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ExponentiationExpression.d.mts +5 -0
- package/declaration/runtime-semantics/ExponentiationExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ExportDeclaration.d.mts +11 -0
- package/declaration/runtime-semantics/ExportDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/ExpressionStatement.d.mts +5 -0
- package/declaration/runtime-semantics/ExpressionStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/ForDeclarationBindingInitialization.d.mts +7 -0
- package/declaration/runtime-semantics/ForDeclarationBindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/FunctionDeclaration.d.mts +5 -0
- package/declaration/runtime-semantics/FunctionDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/FunctionDeclarationInstantiation.d.mts +6 -0
- package/declaration/runtime-semantics/FunctionDeclarationInstantiation.d.mts.map +1 -0
- package/declaration/runtime-semantics/FunctionExpression.d.mts +4 -0
- package/declaration/runtime-semantics/FunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/FunctionStatementList.d.mts +5 -0
- package/declaration/runtime-semantics/FunctionStatementList.d.mts.map +1 -0
- package/declaration/runtime-semantics/GeneratorExpression.d.mts +4 -0
- package/declaration/runtime-semantics/GeneratorExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/GetSubstitution.d.mts +5 -0
- package/declaration/runtime-semantics/GetSubstitution.d.mts.map +1 -0
- package/declaration/runtime-semantics/GlobalDeclarationInstantiation.d.mts +5 -0
- package/declaration/runtime-semantics/GlobalDeclarationInstantiation.d.mts.map +1 -0
- package/declaration/runtime-semantics/HoistableDeclaration.d.mts +5 -0
- package/declaration/runtime-semantics/HoistableDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/IdentifierReference.d.mts +6 -0
- package/declaration/runtime-semantics/IdentifierReference.d.mts.map +1 -0
- package/declaration/runtime-semantics/IfStatement.d.mts +11 -0
- package/declaration/runtime-semantics/IfStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/ImportCall.d.mts +6 -0
- package/declaration/runtime-semantics/ImportCall.d.mts.map +1 -0
- package/declaration/runtime-semantics/ImportDeclaration.d.mts +5 -0
- package/declaration/runtime-semantics/ImportDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/ImportMeta.d.mts +5 -0
- package/declaration/runtime-semantics/ImportMeta.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateArrowFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateArrowFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateAsyncArrowFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateAsyncArrowFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateAsyncFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateAsyncFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateAsyncGeneratorFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateAsyncGeneratorFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateFunctionObject.d.mts +12 -0
- package/declaration/runtime-semantics/InstantiateFunctionObject.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateGeneratorFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateGeneratorFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/InstantiateOrdinaryFunctionExpression.d.mts +5 -0
- package/declaration/runtime-semantics/InstantiateOrdinaryFunctionExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/IteratorBindingInitialization.d.mts +7 -0
- package/declaration/runtime-semantics/IteratorBindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/KeyedBindingInitialization.d.mts +6 -0
- package/declaration/runtime-semantics/KeyedBindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/LabelledEvaluation.d.mts +7 -0
- package/declaration/runtime-semantics/LabelledEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/LabelledStatement.d.mts +4 -0
- package/declaration/runtime-semantics/LabelledStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/LexicalDeclaration.d.mts +14 -0
- package/declaration/runtime-semantics/LexicalDeclaration.d.mts.map +1 -0
- package/declaration/runtime-semantics/Literal.d.mts +6 -0
- package/declaration/runtime-semantics/Literal.d.mts.map +1 -0
- package/declaration/runtime-semantics/LogicalANDExpression.d.mts +5 -0
- package/declaration/runtime-semantics/LogicalANDExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/LogicalORExpression.d.mts +5 -0
- package/declaration/runtime-semantics/LogicalORExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/MV.d.mts +3 -0
- package/declaration/runtime-semantics/MV.d.mts.map +1 -0
- package/declaration/runtime-semantics/MemberExpression.d.mts +5 -0
- package/declaration/runtime-semantics/MemberExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/MethodDefinitionEvaluation.d.mts +28 -0
- package/declaration/runtime-semantics/MethodDefinitionEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/Module.d.mts +11 -0
- package/declaration/runtime-semantics/Module.d.mts.map +1 -0
- package/declaration/runtime-semantics/ModuleBody.d.mts +4 -0
- package/declaration/runtime-semantics/ModuleBody.d.mts.map +1 -0
- package/declaration/runtime-semantics/MultiplicativeExpression.d.mts +5 -0
- package/declaration/runtime-semantics/MultiplicativeExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/NamedEvaluation.d.mts +4 -0
- package/declaration/runtime-semantics/NamedEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/NewExpression.d.mts +5 -0
- package/declaration/runtime-semantics/NewExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/NewTarget.d.mts +3 -0
- package/declaration/runtime-semantics/NewTarget.d.mts.map +1 -0
- package/declaration/runtime-semantics/NumberToBigInt.d.mts +4 -0
- package/declaration/runtime-semantics/NumberToBigInt.d.mts.map +1 -0
- package/declaration/runtime-semantics/ObjectLiteral.d.mts +5 -0
- package/declaration/runtime-semantics/ObjectLiteral.d.mts.map +1 -0
- package/declaration/runtime-semantics/OptionalExpression.d.mts +5 -0
- package/declaration/runtime-semantics/OptionalExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/ParenthesizedExpression.d.mts +4 -0
- package/declaration/runtime-semantics/ParenthesizedExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/PropertyBindingInitialization.d.mts +6 -0
- package/declaration/runtime-semantics/PropertyBindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/PropertyDefinitionEvaluation.d.mts +6 -0
- package/declaration/runtime-semantics/PropertyDefinitionEvaluation.d.mts.map +1 -0
- package/declaration/runtime-semantics/PropertyName.d.mts +5 -0
- package/declaration/runtime-semantics/PropertyName.d.mts.map +1 -0
- package/declaration/runtime-semantics/RegExp.d.mts +36 -0
- package/declaration/runtime-semantics/RegExp.d.mts.map +1 -0
- package/declaration/runtime-semantics/RegularExpressionLiteral.d.mts +4 -0
- package/declaration/runtime-semantics/RegularExpressionLiteral.d.mts.map +1 -0
- package/declaration/runtime-semantics/RelationalExpression.d.mts +8 -0
- package/declaration/runtime-semantics/RelationalExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/RestBindingInitialization.d.mts +5 -0
- package/declaration/runtime-semantics/RestBindingInitialization.d.mts.map +1 -0
- package/declaration/runtime-semantics/ReturnStatement.d.mts +6 -0
- package/declaration/runtime-semantics/ReturnStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/Script.d.mts +5 -0
- package/declaration/runtime-semantics/Script.d.mts.map +1 -0
- package/declaration/runtime-semantics/ScriptBody.d.mts +3 -0
- package/declaration/runtime-semantics/ScriptBody.d.mts.map +1 -0
- package/declaration/runtime-semantics/ShiftExpression.d.mts +7 -0
- package/declaration/runtime-semantics/ShiftExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/StatementList.d.mts +5 -0
- package/declaration/runtime-semantics/StatementList.d.mts.map +1 -0
- package/declaration/runtime-semantics/StringIndexOf.d.mts +3 -0
- package/declaration/runtime-semantics/StringIndexOf.d.mts.map +1 -0
- package/declaration/runtime-semantics/StringPad.d.mts +5 -0
- package/declaration/runtime-semantics/StringPad.d.mts.map +1 -0
- package/declaration/runtime-semantics/SuperCall.d.mts +5 -0
- package/declaration/runtime-semantics/SuperCall.d.mts.map +1 -0
- package/declaration/runtime-semantics/SuperProperty.d.mts +5 -0
- package/declaration/runtime-semantics/SuperProperty.d.mts.map +1 -0
- package/declaration/runtime-semantics/SwitchStatement.d.mts +9 -0
- package/declaration/runtime-semantics/SwitchStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/TaggedTemplateExpression.d.mts +5 -0
- package/declaration/runtime-semantics/TaggedTemplateExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/TemplateLiteral.d.mts +5 -0
- package/declaration/runtime-semantics/TemplateLiteral.d.mts.map +1 -0
- package/declaration/runtime-semantics/This.d.mts +5 -0
- package/declaration/runtime-semantics/This.d.mts.map +1 -0
- package/declaration/runtime-semantics/ThrowStatement.d.mts +5 -0
- package/declaration/runtime-semantics/ThrowStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/TrimString.d.mts +5 -0
- package/declaration/runtime-semantics/TrimString.d.mts.map +1 -0
- package/declaration/runtime-semantics/TryStatement.d.mts +10 -0
- package/declaration/runtime-semantics/TryStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/UnaryExpression.d.mts +4 -0
- package/declaration/runtime-semantics/UnaryExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/Unicode.d.mts +166 -0
- package/declaration/runtime-semantics/Unicode.d.mts.map +1 -0
- package/declaration/runtime-semantics/UpdateExpression.d.mts +4 -0
- package/declaration/runtime-semantics/UpdateExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/VariableStatement.d.mts +7 -0
- package/declaration/runtime-semantics/VariableStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/WithStatement.d.mts +10 -0
- package/declaration/runtime-semantics/WithStatement.d.mts.map +1 -0
- package/declaration/runtime-semantics/YieldExpression.d.mts +5 -0
- package/declaration/runtime-semantics/YieldExpression.d.mts.map +1 -0
- package/declaration/runtime-semantics/all.d.mts +110 -0
- package/declaration/runtime-semantics/all.d.mts.map +1 -0
- package/declaration/static-semantics/BodyText.d.mts +4 -0
- package/declaration/static-semantics/BodyText.d.mts.map +1 -0
- package/declaration/static-semantics/BoundNames.d.mts +4 -0
- package/declaration/static-semantics/BoundNames.d.mts.map +1 -0
- package/declaration/static-semantics/CharacterValue.d.mts +6 -0
- package/declaration/static-semantics/CharacterValue.d.mts.map +1 -0
- package/declaration/static-semantics/CodePointAt.d.mts +8 -0
- package/declaration/static-semantics/CodePointAt.d.mts.map +1 -0
- package/declaration/static-semantics/CodePointsToString.d.mts +3 -0
- package/declaration/static-semantics/CodePointsToString.d.mts.map +1 -0
- package/declaration/static-semantics/ConstructorMethod.d.mts +4 -0
- package/declaration/static-semantics/ConstructorMethod.d.mts.map +1 -0
- package/declaration/static-semantics/ContainsArguments.d.mts +4 -0
- package/declaration/static-semantics/ContainsArguments.d.mts.map +1 -0
- package/declaration/static-semantics/ContainsExpression.d.mts +3 -0
- package/declaration/static-semantics/ContainsExpression.d.mts.map +1 -0
- package/declaration/static-semantics/ContainsUsing.d.mts +4 -0
- package/declaration/static-semantics/ContainsUsing.d.mts.map +1 -0
- package/declaration/static-semantics/DeclarationPart.d.mts +3 -0
- package/declaration/static-semantics/DeclarationPart.d.mts.map +1 -0
- package/declaration/static-semantics/ExpectedArgumentCount.d.mts +3 -0
- package/declaration/static-semantics/ExpectedArgumentCount.d.mts.map +1 -0
- package/declaration/static-semantics/ExportEntries.d.mts +14 -0
- package/declaration/static-semantics/ExportEntries.d.mts.map +1 -0
- package/declaration/static-semantics/ExportEntriesForModule.d.mts +5 -0
- package/declaration/static-semantics/ExportEntriesForModule.d.mts.map +1 -0
- package/declaration/static-semantics/FlagText.d.mts +4 -0
- package/declaration/static-semantics/FlagText.d.mts.map +1 -0
- package/declaration/static-semantics/HasInitializer.d.mts +5 -0
- package/declaration/static-semantics/HasInitializer.d.mts.map +1 -0
- package/declaration/static-semantics/HasName.d.mts +3 -0
- package/declaration/static-semantics/HasName.d.mts.map +1 -0
- package/declaration/static-semantics/ImportEntries.d.mts +11 -0
- package/declaration/static-semantics/ImportEntries.d.mts.map +1 -0
- package/declaration/static-semantics/ImportEntriesForModule.d.mts +4 -0
- package/declaration/static-semantics/ImportEntriesForModule.d.mts.map +1 -0
- package/declaration/static-semantics/ImportedLocalNames.d.mts +4 -0
- package/declaration/static-semantics/ImportedLocalNames.d.mts.map +1 -0
- package/declaration/static-semantics/IsAnonymousFunctionDefinition.d.mts +4 -0
- package/declaration/static-semantics/IsAnonymousFunctionDefinition.d.mts.map +1 -0
- package/declaration/static-semantics/IsAwaitUsingDeclaration.d.mts +3 -0
- package/declaration/static-semantics/IsAwaitUsingDeclaration.d.mts.map +1 -0
- package/declaration/static-semantics/IsComputedPropertyKey.d.mts +3 -0
- package/declaration/static-semantics/IsComputedPropertyKey.d.mts.map +1 -0
- package/declaration/static-semantics/IsConstantDeclaration.d.mts +3 -0
- package/declaration/static-semantics/IsConstantDeclaration.d.mts.map +1 -0
- package/declaration/static-semantics/IsDestructuring.d.mts +4 -0
- package/declaration/static-semantics/IsDestructuring.d.mts.map +1 -0
- package/declaration/static-semantics/IsFunctionDefinition.d.mts +6 -0
- package/declaration/static-semantics/IsFunctionDefinition.d.mts.map +1 -0
- package/declaration/static-semantics/IsIdentifierRef.d.mts +3 -0
- package/declaration/static-semantics/IsIdentifierRef.d.mts.map +1 -0
- package/declaration/static-semantics/IsInTailPosition.d.mts +3 -0
- package/declaration/static-semantics/IsInTailPosition.d.mts.map +1 -0
- package/declaration/static-semantics/IsSimpleParameterList.d.mts +3 -0
- package/declaration/static-semantics/IsSimpleParameterList.d.mts.map +1 -0
- package/declaration/static-semantics/IsStatic.d.mts +4 -0
- package/declaration/static-semantics/IsStatic.d.mts.map +1 -0
- package/declaration/static-semantics/IsStrict.d.mts +4 -0
- package/declaration/static-semantics/IsStrict.d.mts.map +1 -0
- package/declaration/static-semantics/IsStringWellFormedUnicode.d.mts +3 -0
- package/declaration/static-semantics/IsStringWellFormedUnicode.d.mts.map +1 -0
- package/declaration/static-semantics/IsUsingDeclaration.d.mts +3 -0
- package/declaration/static-semantics/IsUsingDeclaration.d.mts.map +1 -0
- package/declaration/static-semantics/LexicallyDeclaredNames.d.mts +4 -0
- package/declaration/static-semantics/LexicallyDeclaredNames.d.mts.map +1 -0
- package/declaration/static-semantics/LexicallyScopedDeclarations.d.mts +3 -0
- package/declaration/static-semantics/LexicallyScopedDeclarations.d.mts.map +1 -0
- package/declaration/static-semantics/ModuleRequests.d.mts +22 -0
- package/declaration/static-semantics/ModuleRequests.d.mts.map +1 -0
- package/declaration/static-semantics/NonConstructorElements.d.mts +4 -0
- package/declaration/static-semantics/NonConstructorElements.d.mts.map +1 -0
- package/declaration/static-semantics/NumericValue.d.mts +4 -0
- package/declaration/static-semantics/NumericValue.d.mts.map +1 -0
- package/declaration/static-semantics/PrivateBoundIdentifiers.d.mts +5 -0
- package/declaration/static-semantics/PrivateBoundIdentifiers.d.mts.map +1 -0
- package/declaration/static-semantics/PropName.d.mts +3 -0
- package/declaration/static-semantics/PropName.d.mts.map +1 -0
- package/declaration/static-semantics/StringToCodePoints.d.mts +3 -0
- package/declaration/static-semantics/StringToCodePoints.d.mts.map +1 -0
- package/declaration/static-semantics/StringValue.d.mts +3 -0
- package/declaration/static-semantics/StringValue.d.mts.map +1 -0
- package/declaration/static-semantics/TemplateStrings.d.mts +5 -0
- package/declaration/static-semantics/TemplateStrings.d.mts.map +1 -0
- package/declaration/static-semantics/TopLevelLexicallyDeclaredNames.d.mts +4 -0
- package/declaration/static-semantics/TopLevelLexicallyDeclaredNames.d.mts.map +1 -0
- package/declaration/static-semantics/TopLevelLexicallyScopedDeclarations.d.mts +4 -0
- package/declaration/static-semantics/TopLevelLexicallyScopedDeclarations.d.mts.map +1 -0
- package/declaration/static-semantics/TopLevelVarDeclaredNames.d.mts +4 -0
- package/declaration/static-semantics/TopLevelVarDeclaredNames.d.mts.map +1 -0
- package/declaration/static-semantics/TopLevelVarScopedDeclarations.d.mts +4 -0
- package/declaration/static-semantics/TopLevelVarScopedDeclarations.d.mts.map +1 -0
- package/declaration/static-semantics/UTF16EncodeCodePoint.d.mts +4 -0
- package/declaration/static-semantics/UTF16EncodeCodePoint.d.mts.map +1 -0
- package/declaration/static-semantics/UTF16SurrogatePairToCodePoint.d.mts +4 -0
- package/declaration/static-semantics/UTF16SurrogatePairToCodePoint.d.mts.map +1 -0
- package/declaration/static-semantics/VarDeclaredNames.d.mts +4 -0
- package/declaration/static-semantics/VarDeclaredNames.d.mts.map +1 -0
- package/declaration/static-semantics/VarScopedDeclarations.d.mts +4 -0
- package/declaration/static-semantics/VarScopedDeclarations.d.mts.map +1 -0
- package/declaration/static-semantics/all.d.mts +51 -0
- package/declaration/static-semantics/all.d.mts.map +1 -0
- package/declaration/utils/callback.d.mts +3 -0
- package/declaration/utils/callback.d.mts.map +1 -0
- package/declaration/utils/container.d.mts +54 -0
- package/declaration/utils/container.d.mts.map +1 -0
- package/declaration/utils/internal.d.mts +3 -0
- package/declaration/utils/internal.d.mts.map +1 -0
- package/declaration/utils/language.d.mts +13 -0
- package/declaration/utils/language.d.mts.map +1 -0
- package/declaration/utils/module-loader.d.mts +15 -0
- package/declaration/utils/module-loader.d.mts.map +1 -0
- package/declaration/utils/module-loaders/builtin-loader.d.mts +13 -0
- package/declaration/utils/module-loaders/builtin-loader.d.mts.map +1 -0
- package/declaration/utils/module.d.mts +15 -0
- package/declaration/utils/module.d.mts.map +1 -0
- package/declaration/utils/stack.d.mts +49 -0
- package/declaration/utils/stack.d.mts.map +1 -0
- package/declaration/value.d.mts +276 -0
- package/declaration/value.d.mts.map +1 -0
- package/lib/engine262.d.mts +1 -0
- package/lib/engine262.d.ts +1 -0
- package/lib/engine262.js +80493 -0
- package/lib/engine262.js.map +1 -0
- package/lib/engine262.mjs +79570 -0
- package/lib/engine262.mjs.map +1 -0
- package/lib/inspector/context.d.mts +39 -0
- package/lib/inspector/context.d.mts.map +1 -0
- package/lib/inspector/context.mjs +307 -0
- package/lib/inspector/context.mjs.map +1 -0
- package/lib/inspector/evaluator.d.mts +4 -0
- package/lib/inspector/evaluator.d.mts.map +1 -0
- package/lib/inspector/evaluator.mjs +16 -0
- package/lib/inspector/evaluator.mjs.map +1 -0
- package/lib/inspector/index.d.mts +17 -0
- package/lib/inspector/index.d.mts.map +1 -0
- package/lib/inspector/index.mjs +180 -0
- package/lib/inspector/index.mjs.map +1 -0
- package/lib/inspector/internal-utils.d.mts +4 -0
- package/lib/inspector/internal-utils.d.mts.map +1 -0
- package/lib/inspector/internal-utils.mjs +17 -0
- package/lib/inspector/internal-utils.mjs.map +1 -0
- package/lib/inspector/methods.d.mts +7 -0
- package/lib/inspector/methods.d.mts.map +1 -0
- package/lib/inspector/methods.mjs +368 -0
- package/lib/inspector/methods.mjs.map +1 -0
- package/lib/inspector/objects/RegExp.d.mts +4 -0
- package/lib/inspector/objects/RegExp.d.mts.map +1 -0
- package/lib/inspector/objects/RegExp.mjs +3 -0
- package/lib/inspector/objects/RegExp.mjs.map +1 -0
- package/lib/inspector/objects/arrays.d.mts +8 -0
- package/lib/inspector/objects/arrays.d.mts.map +1 -0
- package/lib/inspector/objects/arrays.mjs +72 -0
- package/lib/inspector/objects/arrays.mjs.map +1 -0
- package/lib/inspector/objects/collections.d.mts +7 -0
- package/lib/inspector/objects/collections.d.mts.map +1 -0
- package/lib/inspector/objects/collections.mjs +32 -0
- package/lib/inspector/objects/collections.mjs.map +1 -0
- package/lib/inspector/objects/dates.d.mts +12 -0
- package/lib/inspector/objects/dates.d.mts.map +1 -0
- package/lib/inspector/objects/dates.mjs +18 -0
- package/lib/inspector/objects/dates.mjs.map +1 -0
- package/lib/inspector/objects/errors.d.mts +4 -0
- package/lib/inspector/objects/errors.d.mts.map +1 -0
- package/lib/inspector/objects/errors.mjs +51 -0
- package/lib/inspector/objects/errors.mjs.map +1 -0
- package/lib/inspector/objects/function.d.mts +4 -0
- package/lib/inspector/objects/function.d.mts.map +1 -0
- package/lib/inspector/objects/function.mjs +137 -0
- package/lib/inspector/objects/function.mjs.map +1 -0
- package/lib/inspector/objects/index.d.mts +13 -0
- package/lib/inspector/objects/index.d.mts.map +1 -0
- package/lib/inspector/objects/index.mjs +84 -0
- package/lib/inspector/objects/index.mjs.map +1 -0
- package/lib/inspector/objects/modules.d.mts +4 -0
- package/lib/inspector/objects/modules.d.mts.map +1 -0
- package/lib/inspector/objects/modules.mjs +57 -0
- package/lib/inspector/objects/modules.mjs.map +1 -0
- package/lib/inspector/objects/objects.d.mts +31 -0
- package/lib/inspector/objects/objects.d.mts.map +1 -0
- package/lib/inspector/objects/objects.mjs +166 -0
- package/lib/inspector/objects/objects.mjs.map +1 -0
- package/lib/inspector/objects/primitives.d.mts +9 -0
- package/lib/inspector/objects/primitives.d.mts.map +1 -0
- package/lib/inspector/objects/primitives.mjs +105 -0
- package/lib/inspector/objects/primitives.mjs.map +1 -0
- package/lib/inspector/objects/promises.d.mts +4 -0
- package/lib/inspector/objects/promises.d.mts.map +1 -0
- package/lib/inspector/objects/promises.mjs +6 -0
- package/lib/inspector/objects/promises.mjs.map +1 -0
- package/lib/inspector/objects/proxies.d.mts +4 -0
- package/lib/inspector/objects/proxies.d.mts.map +1 -0
- package/lib/inspector/objects/proxies.mjs +12 -0
- package/lib/inspector/objects/proxies.mjs.map +1 -0
- package/lib/inspector/objects/shadow-realms.d.mts +4 -0
- package/lib/inspector/objects/shadow-realms.d.mts.map +1 -0
- package/lib/inspector/objects/shadow-realms.mjs +5 -0
- package/lib/inspector/objects/shadow-realms.mjs.map +1 -0
- package/lib/inspector/types.d.mts +223 -0
- package/lib/inspector/types.d.mts.map +1 -0
- package/lib/inspector/types.mjs +2 -0
- package/lib/inspector/types.mjs.map +1 -0
- package/lib/inspector/utils.d.mts +8 -0
- package/lib/inspector/utils.d.mts.map +1 -0
- package/lib/inspector/utils.mjs +61 -0
- package/lib/inspector/utils.mjs.map +1 -0
- package/lib/inspector.d.mts +1 -0
- package/lib/inspector.d.ts +1 -0
- package/lib/inspector.js +1888 -0
- package/lib/inspector.js.map +1 -0
- package/lib/inspector.mjs +1881 -0
- package/lib/inspector.mjs.map +1 -0
- package/lib/node/bin.d.mts +3 -0
- package/lib/node/bin.d.mts.map +1 -0
- package/lib/node/bin.mjs +312 -0
- package/lib/node/bin.mjs.map +1 -0
- package/lib/node/example.d.mts +2 -0
- package/lib/node/example.d.mts.map +1 -0
- package/lib/node/example.mjs +153 -0
- package/lib/node/example.mjs.map +1 -0
- package/lib/node/inspector.d.mts +17 -0
- package/lib/node/inspector.d.mts.map +1 -0
- package/lib/node/inspector.mjs +138 -0
- package/lib/node/inspector.mjs.map +1 -0
- package/lib/node/module.d.mts +23 -0
- package/lib/node/module.d.mts.map +1 -0
- package/lib/node/module.mjs +205 -0
- package/lib/node/module.mjs.map +1 -0
- package/lib/test262-harness.json +45 -0
- package/lib-src/inspector/context.mts +361 -0
- package/lib-src/inspector/evaluator.mts +19 -0
- package/lib-src/inspector/index.mts +209 -0
- package/lib-src/inspector/internal-utils.mts +18 -0
- package/lib-src/inspector/js_protocol.json +3288 -0
- package/lib-src/inspector/methods.mts +400 -0
- package/lib-src/inspector/objects/RegExp.mts +4 -0
- package/lib-src/inspector/objects/arrays.mts +78 -0
- package/lib-src/inspector/objects/collections.mts +37 -0
- package/lib-src/inspector/objects/dates.mts +49 -0
- package/lib-src/inspector/objects/errors.mts +58 -0
- package/lib-src/inspector/objects/function.mts +154 -0
- package/lib-src/inspector/objects/index.mts +134 -0
- package/lib-src/inspector/objects/modules.mts +60 -0
- package/lib-src/inspector/objects/objects.mts +211 -0
- package/lib-src/inspector/objects/primitives.mts +119 -0
- package/lib-src/inspector/objects/promises.mts +6 -0
- package/lib-src/inspector/objects/proxies.mts +12 -0
- package/lib-src/inspector/objects/shadow-realms.mts +6 -0
- package/lib-src/inspector/tsconfig.json +17 -0
- package/lib-src/inspector/types.mts +228 -0
- package/lib-src/inspector/utils.mts +83 -0
- package/lib-src/node/bin.mts +339 -0
- package/lib-src/node/example.mts +173 -0
- package/lib-src/node/inspector.mts +152 -0
- package/lib-src/node/module.mts +233 -0
- package/lib-src/node/tsconfig.json +21 -0
- package/package.json +147 -0
- package/src/abstract-ops/all.mts +38 -0
- package/src/abstract-ops/arguments-operations.mts +246 -0
- package/src/abstract-ops/array-objects.mts +311 -0
- package/src/abstract-ops/arraybuffer-objects.mts +361 -0
- package/src/abstract-ops/async-function-operations.mts +46 -0
- package/src/abstract-ops/async-generator-objects.mts +320 -0
- package/src/abstract-ops/data-types-and-values.mts +43 -0
- package/src/abstract-ops/dataview-objects.mts +147 -0
- package/src/abstract-ops/date-objects.mts +226 -0
- package/src/abstract-ops/disposable-operations.mts +166 -0
- package/src/abstract-ops/error-objects.mts +38 -0
- package/src/abstract-ops/execution-contexts.mts +18 -0
- package/src/abstract-ops/function-operations.mts +740 -0
- package/src/abstract-ops/generator-operations.mts +298 -0
- package/src/abstract-ops/global-object.mts +394 -0
- package/src/abstract-ops/immutable-prototype-objects.mts +21 -0
- package/src/abstract-ops/import-calls.mts +153 -0
- package/src/abstract-ops/iterator-operations.mts +409 -0
- package/src/abstract-ops/keyed-collections.mts +15 -0
- package/src/abstract-ops/math.mts +72 -0
- package/src/abstract-ops/module-namespace-exotic-objects.mts +277 -0
- package/src/abstract-ops/module-records.mts +1044 -0
- package/src/abstract-ops/notational-conventions.mts +67 -0
- package/src/abstract-ops/object-operations.mts +623 -0
- package/src/abstract-ops/objects.mts +453 -0
- package/src/abstract-ops/private-names.mts +170 -0
- package/src/abstract-ops/promise-operations.mts +444 -0
- package/src/abstract-ops/proxy-objects.mts +580 -0
- package/src/abstract-ops/realms.mts +209 -0
- package/src/abstract-ops/reference-operations.mts +211 -0
- package/src/abstract-ops/regexp-objects.mts +310 -0
- package/src/abstract-ops/shadow-realm.mts +216 -0
- package/src/abstract-ops/shared-arraybuffer.mts +8 -0
- package/src/abstract-ops/spec-types.mts +251 -0
- package/src/abstract-ops/string-objects.mts +156 -0
- package/src/abstract-ops/symbol-objects.mts +35 -0
- package/src/abstract-ops/temporal/addition.mts +221 -0
- package/src/abstract-ops/temporal/all.mts +12 -0
- package/src/abstract-ops/temporal/calendar.mts +801 -0
- package/src/abstract-ops/temporal/duration.mts +1015 -0
- package/src/abstract-ops/temporal/instant.mts +174 -0
- package/src/abstract-ops/temporal/not-implemented.mts +15 -0
- package/src/abstract-ops/temporal/now.mts +46 -0
- package/src/abstract-ops/temporal/plain-date-time.mts +242 -0
- package/src/abstract-ops/temporal/plain-date.mts +249 -0
- package/src/abstract-ops/temporal/plain-month-day.mts +86 -0
- package/src/abstract-ops/temporal/plain-time.mts +331 -0
- package/src/abstract-ops/temporal/plain-year-month.mts +195 -0
- package/src/abstract-ops/temporal/temporal.mts +837 -0
- package/src/abstract-ops/temporal/time-zone.mts +304 -0
- package/src/abstract-ops/temporal/zoned-datetime.mts +373 -0
- package/src/abstract-ops/testing-comparison.mts +376 -0
- package/src/abstract-ops/type-conversion.mts +514 -0
- package/src/abstract-ops/typedarray-objects.mts +385 -0
- package/src/abstract-ops/weak-operations.mts +20 -0
- package/src/api.mts +359 -0
- package/src/completion.mts +477 -0
- package/src/ecma402/not-implemented.mts +4 -0
- package/src/evaluator.mts +384 -0
- package/src/execution-context/Agent.mts +481 -0
- package/src/execution-context/Environment.mts +994 -0
- package/src/execution-context/ExecutionContext.mts +248 -0
- package/src/execution-context/Job.mts +64 -0
- package/src/execution-context/PrivateEnvironment.mts +41 -0
- package/src/execution-context/Realm.mts +378 -0
- package/src/execution-context/WeakReference.mts +86 -0
- package/src/execution-context/all.mts +7 -0
- package/src/host-defined/base64.mts +58 -0
- package/src/host-defined/debugger-util.mts +15 -0
- package/src/host-defined/decimal.mts +117 -0
- package/src/host-defined/devtoolsEval.mts +150 -0
- package/src/host-defined/engine.mts +283 -0
- package/src/host-defined/error-messages.mts +637 -0
- package/src/host-defined/event-loop.mts +311 -0
- package/src/host-defined/ieee754.mts +212 -0
- package/src/host-defined/inspect.mts +250 -0
- package/src/host-defined/job-queue.mts +191 -0
- package/src/host-defined/sort.mts +860 -0
- package/src/host-defined/test262-intrinsics.mts +167 -0
- package/src/index.mts +66 -0
- package/src/intrinsics/AbstractModuleSource.mts +47 -0
- package/src/intrinsics/AggregateError.mts +66 -0
- package/src/intrinsics/AggregateErrorPrototype.mts +12 -0
- package/src/intrinsics/Array.mts +302 -0
- package/src/intrinsics/ArrayBuffer.mts +48 -0
- package/src/intrinsics/ArrayBufferPrototype.mts +189 -0
- package/src/intrinsics/ArrayIteratorPrototype.mts +23 -0
- package/src/intrinsics/ArrayPrototype.mts +688 -0
- package/src/intrinsics/ArrayPrototypeShared.mts +572 -0
- package/src/intrinsics/AsyncDisposableStack.mts +36 -0
- package/src/intrinsics/AsyncDisposableStackPrototype.mts +103 -0
- package/src/intrinsics/AsyncFromSyncIteratorPrototype.mts +165 -0
- package/src/intrinsics/AsyncFunction.mts +33 -0
- package/src/intrinsics/AsyncFunctionPrototype.mts +8 -0
- package/src/intrinsics/AsyncGeneratorFunction.mts +39 -0
- package/src/intrinsics/AsyncGeneratorFunctionPrototype.mts +19 -0
- package/src/intrinsics/AsyncGeneratorFunctionPrototypePrototype.mts +148 -0
- package/src/intrinsics/AsyncIteratorPrototype.mts +56 -0
- package/src/intrinsics/BigInt.mts +69 -0
- package/src/intrinsics/BigIntPrototype.mts +64 -0
- package/src/intrinsics/Boolean.mts +47 -0
- package/src/intrinsics/BooleanPrototype.mts +56 -0
- package/src/intrinsics/DataView.mts +81 -0
- package/src/intrinsics/DataViewPrototype.mts +284 -0
- package/src/intrinsics/Date.mts +243 -0
- package/src/intrinsics/DatePrototype.mts +771 -0
- package/src/intrinsics/DisposableStack.mts +41 -0
- package/src/intrinsics/DisposableStackPrototype.mts +103 -0
- package/src/intrinsics/Error.mts +106 -0
- package/src/intrinsics/ErrorPrototype.mts +100 -0
- package/src/intrinsics/FinalizationRegistry.mts +69 -0
- package/src/intrinsics/FinalizationRegistryPrototype.mts +110 -0
- package/src/intrinsics/ForInIteratorPrototype.mts +120 -0
- package/src/intrinsics/Function.mts +24 -0
- package/src/intrinsics/FunctionPrototype.mts +232 -0
- package/src/intrinsics/GeneratorFunction.mts +38 -0
- package/src/intrinsics/GeneratorFunctionPrototype.mts +22 -0
- package/src/intrinsics/GeneratorFunctionPrototypePrototype.mts +59 -0
- package/src/intrinsics/Iterator.mts +302 -0
- package/src/intrinsics/IteratorHelperPrototype.mts +61 -0
- package/src/intrinsics/IteratorPrototype.mts +700 -0
- package/src/intrinsics/JSON.mts +740 -0
- package/src/intrinsics/Map.mts +129 -0
- package/src/intrinsics/MapIteratorPrototype.mts +81 -0
- package/src/intrinsics/MapPrototype.mts +295 -0
- package/src/intrinsics/Math.mts +605 -0
- package/src/intrinsics/NativeError.mts +86 -0
- package/src/intrinsics/Number.mts +135 -0
- package/src/intrinsics/NumberPrototype.mts +116 -0
- package/src/intrinsics/Object.mts +466 -0
- package/src/intrinsics/ObjectPrototype.mts +333 -0
- package/src/intrinsics/Promise.mts +807 -0
- package/src/intrinsics/PromisePrototype.mts +126 -0
- package/src/intrinsics/Proxy.mts +101 -0
- package/src/intrinsics/Reflect.mts +211 -0
- package/src/intrinsics/RegExp.mts +166 -0
- package/src/intrinsics/RegExpPrototype.mts +762 -0
- package/src/intrinsics/RegExpStringIteratorPrototype.mts +73 -0
- package/src/intrinsics/Set.mts +75 -0
- package/src/intrinsics/SetIteratorPrototype.mts +78 -0
- package/src/intrinsics/SetPrototype.mts +684 -0
- package/src/intrinsics/ShadowRealm.mts +71 -0
- package/src/intrinsics/ShadowRealmPrototype.mts +47 -0
- package/src/intrinsics/String.mts +138 -0
- package/src/intrinsics/StringIteratorPrototype.mts +23 -0
- package/src/intrinsics/StringPrototype.mts +813 -0
- package/src/intrinsics/SuppressedError.mts +53 -0
- package/src/intrinsics/SuppressedErrorPrototype.mts +11 -0
- package/src/intrinsics/Symbol.mts +99 -0
- package/src/intrinsics/SymbolPrototype.mts +81 -0
- package/src/intrinsics/Temporal/Duration.mts +140 -0
- package/src/intrinsics/Temporal/DurationPrototype.mts +425 -0
- package/src/intrinsics/Temporal/Instant.mts +90 -0
- package/src/intrinsics/Temporal/InstantPrototype.mts +211 -0
- package/src/intrinsics/Temporal/Now.mts +66 -0
- package/src/intrinsics/Temporal/PlainDate.mts +79 -0
- package/src/intrinsics/Temporal/PlainDatePrototype.mts +331 -0
- package/src/intrinsics/Temporal/PlainDateTime.mts +113 -0
- package/src/intrinsics/Temporal/PlainDateTimePrototype.mts +418 -0
- package/src/intrinsics/Temporal/PlainMonthDay.mts +81 -0
- package/src/intrinsics/Temporal/PlainMonthDayPrototype.mts +139 -0
- package/src/intrinsics/Temporal/PlainTime.mts +74 -0
- package/src/intrinsics/Temporal/PlainTimePrototype.mts +224 -0
- package/src/intrinsics/Temporal/PlainYearMonth.mts +96 -0
- package/src/intrinsics/Temporal/PlainYearMonthPrototype.mts +223 -0
- package/src/intrinsics/Temporal/Temporal.mts +30 -0
- package/src/intrinsics/Temporal/ZonedDateTime.mts +103 -0
- package/src/intrinsics/Temporal/ZonedDateTimePrototype.mts +601 -0
- package/src/intrinsics/ThrowTypeError.mts +21 -0
- package/src/intrinsics/TypedArray.mts +585 -0
- package/src/intrinsics/TypedArrayConstructors.mts +85 -0
- package/src/intrinsics/TypedArrayPrototype.mts +600 -0
- package/src/intrinsics/TypedArrayPrototypes.mts +17 -0
- package/src/intrinsics/TypedArray_Uint8Array.mts +438 -0
- package/src/intrinsics/URIHandling.mts +277 -0
- package/src/intrinsics/WeakMap.mts +56 -0
- package/src/intrinsics/WeakMapPrototype.mts +203 -0
- package/src/intrinsics/WeakRef.mts +43 -0
- package/src/intrinsics/WeakRefPrototype.mts +23 -0
- package/src/intrinsics/WeakSet.mts +66 -0
- package/src/intrinsics/WeakSetPrototype.mts +100 -0
- package/src/intrinsics/WrapForValidIteratorPrototype.mts +65 -0
- package/src/intrinsics/bootstrap.mts +153 -0
- package/src/intrinsics/eval.mts +16 -0
- package/src/intrinsics/isFinite.mts +23 -0
- package/src/intrinsics/isNaN.mts +23 -0
- package/src/intrinsics/parseFloat.mts +78 -0
- package/src/intrinsics/parseInt.mts +85 -0
- package/src/modules.mts +1088 -0
- package/src/parse.mts +267 -0
- package/src/parser/BaseParser.mts +36 -0
- package/src/parser/ExpressionParser.mts +1697 -0
- package/src/parser/FunctionParser.mts +398 -0
- package/src/parser/IdentifierParser.mts +149 -0
- package/src/parser/LanguageParser.mts +140 -0
- package/src/parser/Lexer.mts +1190 -0
- package/src/parser/ModuleParser.mts +429 -0
- package/src/parser/ParseNode.mts +2923 -0
- package/src/parser/Parser.mts +88 -0
- package/src/parser/RegExpParser.mts +1428 -0
- package/src/parser/Scope.mts +571 -0
- package/src/parser/StatementParser.mts +1160 -0
- package/src/parser/TemporalParser.mts +1245 -0
- package/src/parser/tokens.mts +210 -0
- package/src/parser/unicode.d.ts +20 -0
- package/src/parser/utils.mts +114 -0
- package/src/runtime-semantics/AdditiveExpression.mts +29 -0
- package/src/runtime-semantics/ApplyStringOrNumericBinaryOperator.mts +78 -0
- package/src/runtime-semantics/ArgumentListEvaluation.mts +178 -0
- package/src/runtime-semantics/ArrayLiteral.mts +99 -0
- package/src/runtime-semantics/ArrowFunction.mts +8 -0
- package/src/runtime-semantics/AssignmentExpression.mts +284 -0
- package/src/runtime-semantics/AsyncArrowFunction.mts +8 -0
- package/src/runtime-semantics/AsyncFunctionExpression.mts +11 -0
- package/src/runtime-semantics/AsyncGeneratorExpression.mts +11 -0
- package/src/runtime-semantics/AwaitExpression.mts +16 -0
- package/src/runtime-semantics/BindingInitialization.mts +91 -0
- package/src/runtime-semantics/BitwiseOperators.mts +14 -0
- package/src/runtime-semantics/Block.mts +73 -0
- package/src/runtime-semantics/BreakStatement.mts +18 -0
- package/src/runtime-semantics/BreakableStatement.mts +18 -0
- package/src/runtime-semantics/CallExpression.mts +57 -0
- package/src/runtime-semantics/ClassDeclaration.mts +41 -0
- package/src/runtime-semantics/ClassDefinitionEvaluation.mts +811 -0
- package/src/runtime-semantics/ClassExpression.mts +24 -0
- package/src/runtime-semantics/ClassFieldDefinitionEvaluation.mts +189 -0
- package/src/runtime-semantics/ClassStaticBlockDefinitionEvaluation.mts +48 -0
- package/src/runtime-semantics/CoalesceExpression.mts +24 -0
- package/src/runtime-semantics/CommaOperator.mts +18 -0
- package/src/runtime-semantics/ConditionalExpression.mts +31 -0
- package/src/runtime-semantics/ContinueStatement.mts +18 -0
- package/src/runtime-semantics/CreateDynamicFunction.mts +161 -0
- package/src/runtime-semantics/DebuggerStatement.mts +20 -0
- package/src/runtime-semantics/DefineMethod.mts +42 -0
- package/src/runtime-semantics/DestructuringAssignmentEvaluation.mts +306 -0
- package/src/runtime-semantics/EmptyStatement.mts +9 -0
- package/src/runtime-semantics/EqualityExpression.mts +60 -0
- package/src/runtime-semantics/EvaluateBody.mts +211 -0
- package/src/runtime-semantics/EvaluateCall.mts +67 -0
- package/src/runtime-semantics/EvaluatePropertyAccess.mts +39 -0
- package/src/runtime-semantics/EvaluateStringOrNumericBinaryExpression.mts +19 -0
- package/src/runtime-semantics/ExponentiationExpression.mts +11 -0
- package/src/runtime-semantics/ExportDeclaration.mts +100 -0
- package/src/runtime-semantics/ExpressionStatement.mts +14 -0
- package/src/runtime-semantics/ForDeclarationBindingInitialization.mts +21 -0
- package/src/runtime-semantics/FunctionDeclaration.mts +10 -0
- package/src/runtime-semantics/FunctionDeclarationInstantiation.mts +273 -0
- package/src/runtime-semantics/FunctionExpression.mts +10 -0
- package/src/runtime-semantics/FunctionStatementList.mts +17 -0
- package/src/runtime-semantics/GeneratorExpression.mts +11 -0
- package/src/runtime-semantics/GetSubstitution.mts +90 -0
- package/src/runtime-semantics/GlobalDeclarationInstantiation.mts +140 -0
- package/src/runtime-semantics/HoistableDeclaration.mts +12 -0
- package/src/runtime-semantics/IdentifierReference.mts +15 -0
- package/src/runtime-semantics/IfStatement.mts +49 -0
- package/src/runtime-semantics/ImportCall.mts +137 -0
- package/src/runtime-semantics/ImportDeclaration.mts +9 -0
- package/src/runtime-semantics/ImportMeta.mts +45 -0
- package/src/runtime-semantics/InstantiateArrowFunctionExpression.mts +36 -0
- package/src/runtime-semantics/InstantiateAsyncArrowFunctionExpression.mts +38 -0
- package/src/runtime-semantics/InstantiateAsyncFunctionExpression.mts +75 -0
- package/src/runtime-semantics/InstantiateAsyncGeneratorFunctionExpression.mts +90 -0
- package/src/runtime-semantics/InstantiateFunctionObject.mts +123 -0
- package/src/runtime-semantics/InstantiateGeneratorFunctionExpression.mts +82 -0
- package/src/runtime-semantics/InstantiateOrdinaryFunctionExpression.mts +64 -0
- package/src/runtime-semantics/IteratorBindingInitialization.mts +212 -0
- package/src/runtime-semantics/KeyedBindingInitialization.mts +61 -0
- package/src/runtime-semantics/LabelledEvaluation.mts +749 -0
- package/src/runtime-semantics/LabelledStatement.mts +11 -0
- package/src/runtime-semantics/LexicalDeclaration.mts +114 -0
- package/src/runtime-semantics/Literal.mts +36 -0
- package/src/runtime-semantics/LogicalANDExpression.mts +25 -0
- package/src/runtime-semantics/LogicalORExpression.mts +25 -0
- package/src/runtime-semantics/MV.mts +10 -0
- package/src/runtime-semantics/MemberExpression.mts +71 -0
- package/src/runtime-semantics/MethodDefinitionEvaluation.mts +364 -0
- package/src/runtime-semantics/Module.mts +15 -0
- package/src/runtime-semantics/ModuleBody.mts +10 -0
- package/src/runtime-semantics/MultiplicativeExpression.mts +18 -0
- package/src/runtime-semantics/NamedEvaluation.mts +97 -0
- package/src/runtime-semantics/NewExpression.mts +51 -0
- package/src/runtime-semantics/NewTarget.mts +8 -0
- package/src/runtime-semantics/NumberToBigInt.mts +16 -0
- package/src/runtime-semantics/ObjectLiteral.mts +25 -0
- package/src/runtime-semantics/OptionalExpression.mts +129 -0
- package/src/runtime-semantics/ParenthesizedExpression.mts +8 -0
- package/src/runtime-semantics/PropertyBindingInitialization.mts +45 -0
- package/src/runtime-semantics/PropertyDefinitionEvaluation.mts +132 -0
- package/src/runtime-semantics/PropertyName.mts +62 -0
- package/src/runtime-semantics/RegExp.mts +1344 -0
- package/src/runtime-semantics/RegularExpressionLiteral.mts +16 -0
- package/src/runtime-semantics/RelationalExpression.mts +150 -0
- package/src/runtime-semantics/RestBindingInitialization.mts +29 -0
- package/src/runtime-semantics/ReturnStatement.mts +32 -0
- package/src/runtime-semantics/Script.mts +15 -0
- package/src/runtime-semantics/ScriptBody.mts +7 -0
- package/src/runtime-semantics/ShiftExpression.mts +17 -0
- package/src/runtime-semantics/StatementList.mts +33 -0
- package/src/runtime-semantics/StringIndexOf.mts +43 -0
- package/src/runtime-semantics/StringPad.mts +34 -0
- package/src/runtime-semantics/SuperCall.mts +65 -0
- package/src/runtime-semantics/SuperProperty.mts +58 -0
- package/src/runtime-semantics/SwitchStatement.mts +214 -0
- package/src/runtime-semantics/TaggedTemplateExpression.mts +23 -0
- package/src/runtime-semantics/TemplateLiteral.mts +34 -0
- package/src/runtime-semantics/This.mts +9 -0
- package/src/runtime-semantics/ThrowStatement.mts +23 -0
- package/src/runtime-semantics/TrimString.mts +19 -0
- package/src/runtime-semantics/TryStatement.mts +119 -0
- package/src/runtime-semantics/UnaryExpression.mts +218 -0
- package/src/runtime-semantics/Unicode.mts +268 -0
- package/src/runtime-semantics/UpdateExpression.mts +126 -0
- package/src/runtime-semantics/VariableStatement.mts +72 -0
- package/src/runtime-semantics/WithStatement.mts +33 -0
- package/src/runtime-semantics/YieldExpression.mts +175 -0
- package/src/runtime-semantics/all.mts +109 -0
- package/src/static-semantics/BodyText.mts +7 -0
- package/src/static-semantics/BoundNames.mts +108 -0
- package/src/static-semantics/CharacterValue.mts +112 -0
- package/src/static-semantics/CodePointAt.mts +53 -0
- package/src/static-semantics/CodePointsToString.mts +15 -0
- package/src/static-semantics/ConstructorMethod.mts +10 -0
- package/src/static-semantics/ContainsArguments.mts +33 -0
- package/src/static-semantics/ContainsExpression.mts +59 -0
- package/src/static-semantics/ContainsUsing.mts +15 -0
- package/src/static-semantics/DeclarationPart.mts +5 -0
- package/src/static-semantics/ExpectedArgumentCount.mts +26 -0
- package/src/static-semantics/ExportEntries.mts +183 -0
- package/src/static-semantics/ExportEntriesForModule.mts +79 -0
- package/src/static-semantics/FlagText.mts +7 -0
- package/src/static-semantics/HasInitializer.mts +5 -0
- package/src/static-semantics/HasName.mts +8 -0
- package/src/static-semantics/ImportEntries.mts +49 -0
- package/src/static-semantics/ImportEntriesForModule.mts +110 -0
- package/src/static-semantics/ImportedLocalNames.mts +14 -0
- package/src/static-semantics/IsAnonymousFunctionDefinition.mts +18 -0
- package/src/static-semantics/IsAwaitUsingDeclaration.mts +12 -0
- package/src/static-semantics/IsComputedPropertyKey.mts +7 -0
- package/src/static-semantics/IsConstantDeclaration.mts +11 -0
- package/src/static-semantics/IsDestructuring.mts +21 -0
- package/src/static-semantics/IsFunctionDefinition.mts +15 -0
- package/src/static-semantics/IsIdentifierRef.mts +5 -0
- package/src/static-semantics/IsInTailPosition.mts +5 -0
- package/src/static-semantics/IsSimpleParameterList.mts +23 -0
- package/src/static-semantics/IsStatic.mts +10 -0
- package/src/static-semantics/IsStrict.mts +7 -0
- package/src/static-semantics/IsStringWellFormedUnicode.mts +24 -0
- package/src/static-semantics/IsUsingDeclaration.mts +12 -0
- package/src/static-semantics/LexicallyDeclaredNames.mts +26 -0
- package/src/static-semantics/LexicallyScopedDeclarations.mts +84 -0
- package/src/static-semantics/ModuleRequests.mts +185 -0
- package/src/static-semantics/NonConstructorElements.mts +15 -0
- package/src/static-semantics/NumericValue.mts +7 -0
- package/src/static-semantics/PrivateBoundIdentifiers.mts +23 -0
- package/src/static-semantics/PropName.mts +23 -0
- package/src/static-semantics/StringToCodePoints.mts +22 -0
- package/src/static-semantics/StringValue.mts +19 -0
- package/src/static-semantics/TemplateStrings.mts +109 -0
- package/src/static-semantics/TopLevelLexicallyDeclaredNames.mts +23 -0
- package/src/static-semantics/TopLevelLexicallyScopedDeclarations.mts +27 -0
- package/src/static-semantics/TopLevelVarDeclaredNames.mts +28 -0
- package/src/static-semantics/TopLevelVarScopedDeclarations.mts +36 -0
- package/src/static-semantics/UTF16EncodeCodePoint.mts +19 -0
- package/src/static-semantics/UTF16SurrogatePairToCodePoint.mts +12 -0
- package/src/static-semantics/VarDeclaredNames.mts +109 -0
- package/src/static-semantics/VarScopedDeclarations.mts +115 -0
- package/src/static-semantics/all.mts +50 -0
- package/src/tsconfig.json +12 -0
- package/src/unicode/.gitkeep +0 -0
- package/src/unicode/CodePointProperties.json +1 -0
- package/src/unicode/PropertyValueAliases.json +434 -0
- package/src/unicode/SequenceProperties.json +1 -0
- package/src/utils/callback.mts +7 -0
- package/src/utils/container.mts +284 -0
- package/src/utils/internal.mts +2 -0
- package/src/utils/language.mts +35 -0
- package/src/utils/module-loader.mts +73 -0
- package/src/utils/module-loaders/builtin-loader.mts +84 -0
- package/src/utils/module.mts +75 -0
- package/src/utils/stack.mts +324 -0
- package/src/value.mts +996 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrivateEnvironment.d.mts","sourceRoot":"","sources":["../../src/execution-context/PrivateEnvironment.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAU,aAAa,EACvD,MAAM,OAAO,CAAC;AAEf,8DAA8D;AAC9D,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,uBAAuB,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAElE,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE,CAAM;IAEnC,yDAAyD;IACzD,YAAY,QAAQ,EAAE,wBAAwB,GAAG,IAAI,EAEpD;IAED,IAAI,CAAC,CAAC,EAAE,QAAQ,QAIf;CACF;AAED,8DAA8D;AAC9D,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,wBAAwB,EAAE,UAAU,EAAE,aAAa,eAiBpG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type Intrinsics } from '../abstract-ops/realms.mts';
|
|
2
|
+
import { type ObjectValue, type GlobalEnvironmentRecord, type ParseNode, type LoadedModuleRequestRecord, type ManagedRealmHostDefined, type GCMarker, ManagedRealm } from '#self';
|
|
3
|
+
/** https://tc39.es/ecma262/#sec-code-realms */
|
|
4
|
+
export declare abstract class Realm {
|
|
5
|
+
abstract readonly AgentSignifier: unknown;
|
|
6
|
+
abstract readonly Intrinsics: Intrinsics;
|
|
7
|
+
abstract readonly GlobalObject: ObjectValue;
|
|
8
|
+
abstract readonly GlobalEnv: GlobalEnvironmentRecord;
|
|
9
|
+
abstract readonly TemplateMap: {
|
|
10
|
+
Site: ParseNode.TemplateLiteral;
|
|
11
|
+
Array: ObjectValue;
|
|
12
|
+
}[];
|
|
13
|
+
readonly LoadedModules: LoadedModuleRequestRecord[];
|
|
14
|
+
abstract readonly HostDefined: ManagedRealmHostDefined;
|
|
15
|
+
abstract randomState: undefined | BigUint64Array;
|
|
16
|
+
mark(m: GCMarker): void;
|
|
17
|
+
}
|
|
18
|
+
/** https://tc39.es/ecma262/pr/3728/#sec-makerealm */
|
|
19
|
+
export declare function MakeRealm(...args: ConstructorParameters<typeof ManagedRealm>): import("#self").ExecutionContext;
|
|
20
|
+
/** https://tc39.es/ecma262/#sec-createintrinsics */
|
|
21
|
+
export declare function CreateIntrinsics(realmRec: Realm): any;
|
|
22
|
+
/** https://tc39.es/ecma262/#sec-setdefaultglobalbindings */
|
|
23
|
+
export declare function SetDefaultGlobalBindings(realmRec: Realm): void;
|
|
24
|
+
//# sourceMappingURL=Realm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Realm.d.mts","sourceRoot":"","sources":["../../src/execution-context/Realm.mts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,KAAK,UAAU,EAAE,MAAM,4BAA4B,CAAC;AA0F9F,OAAO,EACL,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,KAAK,SAAS,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,KAAK,QAAQ,EAC3I,YAAY,EAOb,MAAM,OAAO,CAAC;AAEf,+CAA+C;AAC/C,8BAAsB,KAAK;IACzB,QAAQ,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IAE1C,QAAQ,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAEzC,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC;IAE5C,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAErD,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE;QAAE,IAAI,EAAE,SAAS,CAAC,eAAe,CAAC;QAAC,KAAK,EAAE,WAAW,CAAC;KAAE,EAAE,CAAC;IAE1F,QAAQ,CAAC,aAAa,EAAE,yBAAyB,EAAE,CAAM;IAEzD,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,uBAAuB,CAAC;IAGvD,QAAQ,CAAC,WAAW,EAAE,SAAS,GAAG,cAAc,CAAC;IAEjD,IAAI,CAAC,CAAC,EAAE,QAAQ,QAYf;CACF;AAED,qDAAqD;AACrD,wBAAgB,SAAS,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC,OAAO,YAAY,CAAC,oCAE5E;AAED,oDAAoD;AACpD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,KAAK,OAmI/C;AAED,4DAA4D;AAC5D,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,KAAK,QAsGvD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FinalizationRegistryObject, ObjectValue, SymbolValue, type JobCallbackRecord, UndefinedValue, Value, type ValueEvaluator } from '#self';
|
|
2
|
+
/** https://tc39.es/ecma262/#sec-host-cleanup-finalization-registry */
|
|
3
|
+
export declare function HostEnqueueFinalizationRegistryCleanupJob(finalizationRegistry: FinalizationRegistryObject): void;
|
|
4
|
+
/** https://tc39.es/ecma262/#sec-clear-kept-objects */
|
|
5
|
+
export declare function ClearKeptObjects(): void;
|
|
6
|
+
/** https://tc39.es/ecma262/#sec-addtokeptobjects */
|
|
7
|
+
export declare function AddToKeptObjects(object: ObjectValue | SymbolValue): void;
|
|
8
|
+
/** https://tc39.es/ecma262/#sec-cleanup-finalization-registry */
|
|
9
|
+
export declare function CleanupFinalizationRegistry(finalizationRegistry: FinalizationRegistryObject, callback?: JobCallbackRecord): ValueEvaluator<UndefinedValue>;
|
|
10
|
+
/** https://tc39.es/ecma262/#sec-canbeheldweakly */
|
|
11
|
+
export declare function CanBeHeldWeakly(v: Value): v is ObjectValue | SymbolValue;
|
|
12
|
+
//# sourceMappingURL=WeakReference.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeakReference.d.mts","sourceRoot":"","sources":["../../src/execution-context/WeakReference.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAAuB,WAAW,EAAE,WAAW,EAA+B,KAAK,iBAAiB,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,cAAc,EAIhL,MAAM,OAAO,CAAC;AAGf,sEAAsE;AACtE,wBAAgB,yCAAyC,CAAC,oBAAoB,EAAE,0BAA0B,GAAG,IAAI,CAkBhH;AAED,sDAAsD;AACtD,wBAAgB,gBAAgB,SAK/B;AAED,oDAAoD;AACpD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW,QAKjE;AAED,iEAAiE;AACjE,wBAAiB,2BAA2B,CAAC,oBAAoB,EAAE,0BAA0B,EAAE,QAAQ,CAAC,EAAE,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAuB3J;AAED,mDAAmD;AACnD,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,IAAI,WAAW,GAAG,WAAW,CAaxE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './Environment.mts';
|
|
2
|
+
export * from './PrivateEnvironment.mts';
|
|
3
|
+
export * from './Realm.mts';
|
|
4
|
+
export * from './ExecutionContext.mts';
|
|
5
|
+
export * from './Job.mts';
|
|
6
|
+
export * from './Agent.mts';
|
|
7
|
+
export * from './WeakReference.mts';
|
|
8
|
+
//# sourceMappingURL=all.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.d.mts","sourceRoot":"","sources":["../../src/execution-context/all.mts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is based on https://github.com/MaxArt2501/base64-js/
|
|
3
|
+
* MIT licensed: https://github.com/MaxArt2501/base64-js/blob/master/LICENSE
|
|
4
|
+
*/
|
|
5
|
+
declare function atob(string: string): string;
|
|
6
|
+
declare function btoa(string: string): string;
|
|
7
|
+
export declare const btoa_polyfill: typeof btoa;
|
|
8
|
+
export declare const atob_polyfill: typeof atob;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=base64.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base64.d.mts","sourceRoot":"","sources":["../../src/host-defined/base64.mts"],"names":[],"mappings":"AAKA;;;GAGG;AAOH,OAAO,UAAU,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;AAC9C,OAAO,UAAU,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;AAE9C,eAAO,MAAM,aAAa,aAkBzB,CAAC;AAEF,eAAO,MAAM,aAAa,aAmBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugger-util.d.mts","sourceRoot":"","sources":["../../src/host-defined/debugger-util.mts"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,YAM/B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import decimal from 'jsbd';
|
|
2
|
+
import type { RoundOption } from 'jsbd/dist/type.js';
|
|
3
|
+
type DecimalInit = string | number | bigint | decimal.Decimal | Decimal;
|
|
4
|
+
export declare function Decimal(value: DecimalInit): Decimal;
|
|
5
|
+
export declare class Decimal {
|
|
6
|
+
private value;
|
|
7
|
+
private constructor();
|
|
8
|
+
add(other: DecimalInit, option?: RoundOption): Decimal;
|
|
9
|
+
subtract(other: DecimalInit, option?: RoundOption): Decimal;
|
|
10
|
+
multiply(other: DecimalInit, option?: RoundOption): Decimal;
|
|
11
|
+
divide(other: DecimalInit, option?: RoundOption): Decimal;
|
|
12
|
+
remainder(other: DecimalInit, option?: RoundOption): Decimal;
|
|
13
|
+
equals(other: DecimalInit): boolean;
|
|
14
|
+
notEqual(other: DecimalInit): boolean;
|
|
15
|
+
lessThan(other: DecimalInit): boolean;
|
|
16
|
+
lessThanOrEqual(other: DecimalInit): boolean;
|
|
17
|
+
greaterThan(other: DecimalInit): boolean;
|
|
18
|
+
greaterThanOrEqual(other: DecimalInit): boolean;
|
|
19
|
+
abs(): Decimal;
|
|
20
|
+
negate(): Decimal;
|
|
21
|
+
toBigInt(): bigint;
|
|
22
|
+
toNumber(): number;
|
|
23
|
+
modulo(y: DecimalInit): Decimal;
|
|
24
|
+
truncate(): Decimal;
|
|
25
|
+
floor(): Decimal;
|
|
26
|
+
ceil(): Decimal;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=decimal.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decimal.d.mts","sourceRoot":"","sources":["../../src/host-defined/decimal.mts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWrD,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAExE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC;AAC7D,qBAEa,OAAO;IAClB,OAAO,CAAC,KAAK,CAAkB;IAE/B,OAAO,eAMN;IAED,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAErD;IAED,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAE1D;IAED,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAE1D;IAED,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAExD;IAED,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAE3D;IAED,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAElC;IAED,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAEpC;IAED,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAEpC;IAED,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAE3C;IAED,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAEvC;IAED,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAE9C;IAED,GAAG,IAAI,OAAO,CAKb;IAED,MAAM,IAAI,OAAO,CAEhB;IAED,QAAQ,IAAI,MAAM,CAEjB;IAED,QAAQ,IAAI,MAAM,CAEjB;IAED,MAAM,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAI9B;IAED,QAAQ,YAEP;IAED,KAAK,YAMJ;IAED,IAAI,YAMH;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtoolsEval.d.mts","sourceRoot":"","sources":["../../src/host-defined/devtoolsEval.mts"],"names":[],"mappings":"AAAA,OAAO,EAUoD,YAAY,EAAwJ,KAAK,cAAc,EACjP,MAAM,OAAO,CAAC;AAIf,wBAAiB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,cAAc,CAsIxI"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Value } from '../value.mts';
|
|
2
|
+
import { type PlainCompletion } from '../completion.mts';
|
|
3
|
+
import { type PlainEvaluator, type ValueEvaluator } from '../evaluator.mts';
|
|
4
|
+
import { kInternal } from '../utils/internal.mts';
|
|
5
|
+
import { AbstractModuleRecord, CyclicModuleRecord, ObjectValue, type ValueCompletion, type ModuleRecordHostDefined, type ParseScriptHostDefined, type ScriptRecord, ManagedRealm, SourceTextModuleRecord, type ModuleRequestRecord, Realm, type EpochNanoseconds, type ArrayBufferObject, type Intrinsics, type JobQueue, type EventLoop, type EventLoopRunType, Agent } from '../index.mts';
|
|
6
|
+
import type { ParseNode } from '../parser/ParseNode.mts';
|
|
7
|
+
import type { PromiseObject } from '../intrinsics/Promise.mts';
|
|
8
|
+
import type { FinalizationRegistryObject } from '../intrinsics/FinalizationRegistry.mts';
|
|
9
|
+
import type { ShadowRealmObject } from '../intrinsics/ShadowRealm.mts';
|
|
10
|
+
import { ExecutionContext } from '../execution-context/ExecutionContext.mts';
|
|
11
|
+
import { type FunctionObject } from '#self';
|
|
12
|
+
export interface Engine262Feature {
|
|
13
|
+
name: string;
|
|
14
|
+
flag: string;
|
|
15
|
+
url: string;
|
|
16
|
+
enableInPlayground?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const FEATURES: [{
|
|
19
|
+
readonly name: 'Decorators';
|
|
20
|
+
readonly flag: 'decorators';
|
|
21
|
+
readonly url: 'https://github.com/tc39/proposal-decorators';
|
|
22
|
+
readonly enableInPlayground: true;
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: 'Skip bugfix for field initializers in decorator';
|
|
25
|
+
readonly flag: 'decorators.no-bugfix.1';
|
|
26
|
+
readonly url: '';
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: 'FinalizationRegistry#cleanupSome';
|
|
29
|
+
readonly flag: 'cleanup-some';
|
|
30
|
+
readonly url: 'https://github.com/tc39/proposal-cleanup-some';
|
|
31
|
+
readonly enableInPlayground: true;
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: 'RegExp Buffer Boundaries';
|
|
34
|
+
readonly flag: 'regexp-buffer-boundaries';
|
|
35
|
+
readonly url: 'https://github.com/tc39/proposal-regexp-buffer-boundaries';
|
|
36
|
+
readonly enableInPlayground: true;
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: 'Deferred Re-exports';
|
|
39
|
+
readonly flag: 'export-defer';
|
|
40
|
+
readonly url: 'https://github.com/tc39/proposal-deferred-reexports';
|
|
41
|
+
readonly enableInPlayground: true;
|
|
42
|
+
}];
|
|
43
|
+
export type Feature = (typeof FEATURES)[number]['flag'];
|
|
44
|
+
/** https://tc39.es/ecma262/#sec-host-promise-rejection-tracker */
|
|
45
|
+
export type HostPromiseRejectionTracker = (promise: PromiseObject, operation: 'reject' | 'handle') => void;
|
|
46
|
+
export interface HostHooks {
|
|
47
|
+
/** https://tc39.es/ecma262/#sec-host-cleanup-finalization-registry */
|
|
48
|
+
HostEnqueueFinalizationRegistryCleanupJob?(finalizationRegistry: FinalizationRegistryObject): void;
|
|
49
|
+
/** https://tc39.es/ecma262/#sec-hostensurecancompilestrings */
|
|
50
|
+
HostEnsureCanCompileStrings?(calleeRealm: Realm, parameterStrings: readonly string[], bodyString: string, direct: boolean): PlainEvaluator | PlainCompletion<void>;
|
|
51
|
+
/** https://tc39.es/ecma262/#sec-hosthassourcetextavailable */
|
|
52
|
+
HostHasSourceTextAvailable?(func: FunctionObject): boolean;
|
|
53
|
+
/** https://tc39.es/proposal-shadowrealm/#sec-hostinitializeshadowrealm */
|
|
54
|
+
HostInitializeShadowRealm?(realmRec: Realm, innerContext: ExecutionContext, O: ShadowRealmObject): PlainEvaluator | PlainCompletion<void>;
|
|
55
|
+
/** https://tc39.es/ecma262/#sec-hostgetmodulesourcemodulerecord */
|
|
56
|
+
HostGetModuleSourceModuleRecord?(specifier: ObjectValue): AbstractModuleRecord | 'not-a-source';
|
|
57
|
+
/** https://tc39.es/ecma262/#sec-#sec-HostLoadImportedModule */
|
|
58
|
+
HostLoadImportedModule?(referrer: CyclicModuleRecord | ScriptRecord | Realm, moduleRequest: ModuleRequestRecord, hostDefined: ModuleRecordHostDefined | undefined, payload: HostLoadImportedModulePayloadOpaque): void;
|
|
59
|
+
/** https://tc39.es/ecma262/#sec-host-promise-rejection-tracker */
|
|
60
|
+
HostPromiseRejectionTrackers?: Set<HostPromiseRejectionTracker>;
|
|
61
|
+
/** https://tc39.es/ecma262/#sec-hostresizearraybuffer */
|
|
62
|
+
HostResizeArrayBuffer?(buffer: ArrayBufferObject, newByteLength: number): 'handled' | 'unhandled';
|
|
63
|
+
/** https://tc39.es/proposal-temporal/#sec-hostsystemutcepochnanoseconds */
|
|
64
|
+
HostSystemUTCEpochNanoseconds?(global: ObjectValue): EpochNanoseconds;
|
|
65
|
+
}
|
|
66
|
+
export interface DebuggerPauseReason {
|
|
67
|
+
readonly reason: 'debugCommand' | 'other';
|
|
68
|
+
readonly hitBreakpoints?: readonly string[];
|
|
69
|
+
}
|
|
70
|
+
export interface AgentHostDefined {
|
|
71
|
+
errorStackAttachNativeStack?: boolean;
|
|
72
|
+
features?: readonly string[];
|
|
73
|
+
hostHooks?: HostHooks;
|
|
74
|
+
jobQueue?: JobQueue;
|
|
75
|
+
eventLoop?: (agent: Agent) => EventLoop;
|
|
76
|
+
eventLoopRunType?: EventLoopRunType;
|
|
77
|
+
startEventLoop?: boolean;
|
|
78
|
+
onDebugger?(reason?: DebuggerPauseReason): void;
|
|
79
|
+
onNodeEvaluation?(node: ParseNode, realm: Realm): void;
|
|
80
|
+
onRealmCreated?(realm: ManagedRealm): void;
|
|
81
|
+
onScriptParsed?(script: ScriptRecord | SourceTextModuleRecord | DynamicParsedCodeRecord, scriptId: string): void;
|
|
82
|
+
resizableArrayBufferMaxByteLength?: number;
|
|
83
|
+
supportedImportAttributes?: readonly string[];
|
|
84
|
+
/** Promise rejection is standardized, but uncaught exception is not. */
|
|
85
|
+
uncaughtExceptionTrackers?: Set<(error: Value) => void>;
|
|
86
|
+
}
|
|
87
|
+
export interface ResumeEvaluateOptions {
|
|
88
|
+
noBreakpoint?: boolean;
|
|
89
|
+
pauseAt?: 'step-over' | 'step-in' | 'step-out';
|
|
90
|
+
debuggerStatementCompletion?: ValueCompletion;
|
|
91
|
+
}
|
|
92
|
+
export declare class DynamicParsedCodeRecord {
|
|
93
|
+
Realm: Realm;
|
|
94
|
+
constructor(Realm: Realm, sourceText: string | ParseNode.Script | ParseNode.Expression);
|
|
95
|
+
HostDefined: {
|
|
96
|
+
scriptId: string | undefined;
|
|
97
|
+
specifier: undefined;
|
|
98
|
+
isInspectorEval: boolean;
|
|
99
|
+
};
|
|
100
|
+
ECMAScriptCode: {
|
|
101
|
+
sourceText: string;
|
|
102
|
+
} | ParseNode.Script | ParseNode.Expression;
|
|
103
|
+
}
|
|
104
|
+
/** https://tc39.es/ecma262/#sec-well-known-intrinsic-objects */
|
|
105
|
+
export declare function intrinsics(): Intrinsics;
|
|
106
|
+
export interface ExecutionContextHostDefined {
|
|
107
|
+
readonly [kInternal]?: ParseScriptHostDefined[typeof kInternal];
|
|
108
|
+
scriptId?: string;
|
|
109
|
+
}
|
|
110
|
+
/** https://tc39.es/ecma262/#sec-runtime-semantics-scriptevaluation */
|
|
111
|
+
export declare function ScriptEvaluation(scriptRecord: ScriptRecord): ValueEvaluator;
|
|
112
|
+
export declare function HostEnsureCanCompileStrings(calleeRealm: Realm, parameterStrings: readonly string[], bodyString: string, direct: boolean): PlainEvaluator;
|
|
113
|
+
export declare function HostPromiseRejectionTracker(promise: PromiseObject, operation: 'reject' | 'handle'): void;
|
|
114
|
+
export declare function HostHasSourceTextAvailable(func: FunctionObject): boolean | import("../value.mts").BooleanValue<true>;
|
|
115
|
+
export declare function HostGetSupportedImportAttributes(): readonly string[];
|
|
116
|
+
/** https://tc39.es/ecma262/#sec-hostgetmodulesourcemodulerecord */
|
|
117
|
+
export declare function HostGetModuleSourceModuleRecord(specifier: ObjectValue): AbstractModuleRecord | 'not-a-source';
|
|
118
|
+
export declare function HostLoadImportedModule(referrer: CyclicModuleRecord | ScriptRecord | Realm, moduleRequest: ModuleRequestRecord, hostDefined: ModuleRecordHostDefined | undefined, payload: HostLoadImportedModulePayloadOpaque): void;
|
|
119
|
+
export type HostLoadImportedModulePayloadOpaque = {
|
|
120
|
+
HostLoadImportedModulePayloadOpaque?: never;
|
|
121
|
+
};
|
|
122
|
+
/** https://tc39.es/ecma262/#sec-hostgetimportmetaproperties */
|
|
123
|
+
export declare function HostGetImportMetaProperties(moduleRecord: AbstractModuleRecord): readonly {
|
|
124
|
+
readonly Key: import("../value.mts").PropertyKeyValue;
|
|
125
|
+
readonly Value: Value;
|
|
126
|
+
}[];
|
|
127
|
+
/** https://tc39.es/ecma262/#sec-hostfinalizeimportmeta */
|
|
128
|
+
export declare function HostFinalizeImportMeta(importMeta: ObjectValue, moduleRecord: AbstractModuleRecord): void | import("../value.mts").UndefinedValue;
|
|
129
|
+
export type GCMarker = (value: unknown) => void;
|
|
130
|
+
export interface Markable {
|
|
131
|
+
mark(marker: GCMarker): void;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=engine.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine.d.mts","sourceRoot":"","sources":["../../src/host-defined/engine.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACK,KAAK,cAAc,EAAE,KAAK,cAAc,EACnD,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EACL,oBAAoB,EAAE,kBAAkB,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,uBAAuB,EAAE,KAAK,sBAAsB,EAAE,KAAK,YAAY,EACzJ,YAAY,EACZ,sBAAsB,EACtB,KAAK,mBAAmB,EACxB,KAAK,EAEL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,EACN,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,O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E,SAAS,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,cAAc,CAUzJ;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,GAAG,QAAQ,QAGjG;AAGD,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,cAAc,uDAS9D;AAED,wBAAgB,gCAAgC,IAAI,SAAS,MAAM,EAAE,CAKpE;AAED,mEAAmE;AACnE,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,WAAW,GAAG,oBAAoB,GAAG,cAAc,CAM7G;AAGD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,YAAY,GAAG,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,WAAW,EAAE,uBAAuB,GAAG,SAAS,EAAE,OAAO,EAAE,mCAAmC,QAO7N;AAGD,MAAM,MAAM,mCAAmC,GAAG;IAGhD,mCAAmC,CAAC,EAAE,KAAK,CAAA;CAC5C,CAAC;AAEF,+DAA+D;AAC/D,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,oBAAoB;;;IAM7E;AAED,0DAA0D;AAC1D,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAoB,gDAMjG;AAED,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;AAChD,MAAM,WAAW,QAAQ;IACvB,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { PrivateName, ThrowCompletion, Value } from '#self';
|
|
2
|
+
/** https://tc39.es/ecma262/#sec-throw-an-exception */
|
|
3
|
+
export declare function Throw(_: never): never;
|
|
4
|
+
export declare namespace Throw {
|
|
5
|
+
var EvalError: Throw;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Throw {
|
|
8
|
+
var RangeError: Throw;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace Throw {
|
|
11
|
+
var ReferenceError: Throw;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Throw {
|
|
14
|
+
var SyntaxError: Throw;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace Throw {
|
|
17
|
+
var TypeError: Throw;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Throw {
|
|
20
|
+
var URIError: Throw;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace Throw {
|
|
23
|
+
var Error: Throw;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace Throw {
|
|
26
|
+
var AggregateError: Throw;
|
|
27
|
+
}
|
|
28
|
+
export type Formattable = string | number | bigint | Value | PrivateName | readonly Formattable[];
|
|
29
|
+
export declare function format(arg: Formattable): string;
|
|
30
|
+
export interface Throw {
|
|
31
|
+
(m: '"arguments" cannot be used as an identifier in class static block' | '"day" is required' | '"month-code" or "month" is required' | '"year" is required' | "'getPrototypeOf' on proxy: proxy target is non-extensible but the trap did not return its actual prototype" | "'getPrototypeOf' on proxy: trap returned neither object nor null" | "'ownKeys' on proxy: trap result returned extra keys but proxy target is non-extensible" | "'ownKeys' on proxy: trap returned duplicate entries" | "'preventExtensions' on proxy: trap returned truthy but the proxy target is extensible" | "'setPrototypeOf' on proxy: trap returned truthy for setting a new prototype on the non-extensible proxy target" | 'A class cannot have static and instance private methods with the same name' | 'A class element cannot be named as "constructor"' | 'A class element cannot be named as "prototype" or "constructor"' | 'A class static field cannot be named as "constructor"' | 'AbstractModuleSource cannot be constructed' | 'Array length must be uint32.' | 'Array length too big.' | 'ArrayBuffer cannot be invoked without new' | 'AsyncDisposableStack cannot be invoked without new' | 'Attempt to access detached ArrayBuffer' | 'Attempt to access shared ArrayBuffer' | 'BigInt has no unsigned right shift, use >> instead' | 'BigInt is not a constructor' | 'BigInt literal cannot have leading zero' | 'Calendar annotation is not allowed when day is absent' | 'Calendar annotation is not allowed when year is absent' | 'Calendars are not equal' | 'Cannot JSON stringify a circular structure' | 'Cannot add a date to an instant' | 'Cannot allocate memory' | 'Cannot call addInitializer after decoration is finished' | 'Cannot convert object to primitive value' | 'Cannot define private element to a non-extensible object' | 'Cannot delete a super property' | 'Cannot delete an identifier in strict mode' | 'Cannot delete private names' | 'Cannot divide by zero' | 'Cannot make length of array-like object surpass the bounds of an integer index' | 'Cannot mix BigInt and other types, use explicit conversions' | 'Cannot mix logical operator with ?? operator. Add parentheses to determine precedence.' | 'Cannot reduce an empty array with no initial value' | 'Cannot resize ArrayBuffer to bigger than maxByteLength' | 'Cannot serialize a BigInt to JSON' | 'Cannot transfer ArrayBuffer with custom detach key' | 'Class missing binding identifier' | 'Could not set prototype of object' | 'Critical calendar annotation failed.' | 'DataView cannot be invoked without new' | 'DateTime outside of range' | 'Decorators can only be used to decorate classes' | 'Decorators cannot appear on both sides of the export keyword' | 'Default export already declared' | 'Derived TypedArray constructor created an array which was too small' | 'Duplicate __proto__ property' | 'Duplicate constructor' | 'Exponent of bigint must be positive' | 'Filtered namespace exports cannot contain aliased export specifiers' | 'Filtered namespace exports must be followed by `from`' | 'Filtered namespace imports cannot contain aliased or string import specifiers' | 'Filtered namespace imports cannot contain duplicate names' | 'FinalizationRegistry cannot be invoked without new' | 'For-await syntax is only valid with for-of loops' | 'For-in/of loop declarations cannot bind "let"' | 'Host does not set a module loader' | 'ISODate is out of range' | 'Identifier has already been declared' | 'Illegal octal escape' | 'Import name cannot be "eval" or "arguments"' | 'Import name cannot be a keyword' | 'Import name cannot be a string' | 'Initializers are not allowed in for-in/of loop declarations' | 'Invalid ForDeclaration binding initialization' | 'Invalid Unicode escape' | 'Invalid alphabet' | 'Invalid assignment in rest element' | 'Invalid assignment target' | 'Invalid base64 string' | 'Invalid call to ArrayBuffer.prototype.detached on shared ArrayBuffer' | 'Invalid call to ArrayBuffer.prototype.maxByteLength on shared ArrayBuffer' | 'Invalid call to ArrayBuffer.prototype.resizable on shared ArrayBuffer' | 'Invalid call to ArrayBuffer.prototype.resize on detached ArrayBuffer' | 'Invalid call to ArrayBuffer.prototype.resize on shared ArrayBuffer' | 'Invalid class range' | 'Invalid code point' | 'Invalid date' | 'Invalid decimal digits' | 'Invalid duration' | 'Invalid empty identifier' | 'Invalid hex digit' | 'Invalid hex string' | 'Invalid identifier escape' | 'Invalid identity escape' | 'Invalid lastChunkHandling' | 'Invalid leap month' | 'Invalid left-hand side in for-in/of statement' | 'Invalid length' | 'Invalid month' | 'Invalid normalization form' | 'Invalid receiver' | 'Invalid surrogate pair' | 'Invalid template escape' | 'Invalid time' | 'Invalid trailing surrogate' | 'Invalid unicode escape' | 'Invalid unicode property' | 'Invalid unicode property name' | 'Invalid unicode property name or value' | 'Invalid unicode property value' | 'Invalid use of arguments' | 'Invalid use of super' | 'Iterator cannot be invoked without new' | 'Iterator is an abstract class' | 'Iterator length is bigger than MAX_SAFE_INTEGER' | 'Iterator.zip mode must be one of "shortest", "longest", or "strict"' | 'Iterator.zip strict mode requires all iterators to end together' | 'Iterator.zipKeyed mode must be one of "shortest", "longest", or "strict"' | 'Legacy octal literal in strict mode' | 'Let in lexical binding' | 'Map cannot be invoked without new' | 'Mismatching month and month code' | 'Missing catch or finally clause in try statement' | 'Missing initializer in await using declaration' | 'Missing initializer in const declaration' | 'Missing initializer in using declaration' | 'Module export name contains invalid Unicode' | 'Module source is not available' | 'Multiple possible epoch nanoseconds' | 'Newline after throw statement' | "Newly created TypedArray did not match exemplar's content type" | 'No matching offset found for the given date and time' | 'No possible epoch nanoseconds' | 'No promises passed to Promise.any were fulfilled' | 'Non-simple parameter cannot be used with "use strict" directive' | 'Not a Uint8Array' | 'Not a hex digit' | 'Numbers out of order in quantifier' | 'Object is disposed' | 'Object prototype must be an Object or null' | 'Object prototype must be an object or null' | 'Offset is out of bound' | 'Offset is outside the bounds of the DataView' | 'Options parameter is required' | 'PlainDateTime outside of range' | 'PlainMonthDay out of range' | 'PlainYearMonth calendars do not match' | 'PlainYearMonth out of range' | 'PlusModifiers and MinusModifiers cannot be both empty.' | 'Promise cannot be invoked without new' | 'Promise reject function already set' | 'Promise resolve function already set' | 'Proxy cannot be invoked without new' | 'RegExp flags "v" and "u" cannot be used together' | 'Repeated modifiers in modifier group' | 'Rest element must be last element' | 'Rest property must be last property' | 'Resulting ISODate is out of range' | 'Resulting date-time is out of range' | 'Separator is not allowed after leading zero' | 'Set cannot be invoked without new' | 'ShadowRealm cannot be invoked without new' | 'Spread element must be last element' | 'String is too long' | 'Sum of start offset and byte length should be less than the size of underlying buffer' | "Super class's prototype must be an object or null" | 'Symbol is not a constructor' | 'Template in optional chain' | 'Temporal.Duration cannot be converted to primitive value. If you are comparing two Temporal.Duration objects with > or <, use Temporal.Duration.compare() instead.' | 'Temporal.Duration constructor cannot be called without new' | 'Temporal.Instant cannot be called without new' | 'Temporal.Instant cannot be converted to primitive value If you are comparing two Temporal.Duration objects with > or <, use Temporal.Instant.compare() instead.' | 'Temporal.PlainDate cannot be converted to primitive value. If you are comparing two Temporal.PlainDate objects with > or <, use Temporal.PlainDate.compare() instead.' | 'Temporal.PlainDate constructor cannot be called without new' | 'Temporal.PlainDateTime cannot be called without new' | 'Temporal.PlainDateTime cannot be converted to primitive value. If you are comparing two Temporal.PlainDateTime objects with > or <, use Temporal.PlainDateTime.compare() instead.' | 'Temporal.PlainMonthDay cannot be called without new' | 'Temporal.PlainMonthDay cannot be converted to primitive value. If you are comparing two Temporal.PlainMonthDay objects with > or <, use Temporal.PlainMonthDay.compare() instead.' | 'Temporal.PlainTime cannot be called without new' | 'Temporal.PlainTime cannot be converted to primitive value. If you are comparing two Temporal.PlainTime objects with > or <, use Temporal.PlainTime.compare() instead.' | 'Temporal.PlainYearMonth cannot be called without new' | 'Temporal.PlainYearMonth cannot be converted to primitive value. If you are comparing two Temporal.PlainYearMonth objects with > or <, use Temporal.PlainYearMonth.compare() instead.' | 'Temporal.ZonedDateTime cannot be called without new' | 'Temporal.ZonedDateTime cannot be converted to primitive value. If you are comparing two Temporal.ZonedDateTime objects with > or <, use Temporal.ZonedDateTime.compare() instead.' | 'The caller, callee, and arguments properties may not be accessed on functions or the arguments objects for calls to them' | 'The iterator is already complete.' | 'This class cannot be inverted' | 'Time zones are not equal' | 'Too many capturing groups' | 'TypedArray index out of bounds' | 'URI malformed' | 'Unexpected - in modifiers' | 'Unexpected end of CharacterClass' | 'Unexpected end of input' | 'Unexpected escape' | 'Unexpected token' | 'Unexpected token in JSON' | 'Unterminated comment' | 'Unterminated range' | 'Unterminated regular expression' | 'Unterminated string literal' | 'Unterminated template literal' | 'Using declarations are not allowed at the top level of a Script' | 'Using declarations are not allowed directly in switch clauses' | 'Using declarations are only allowed in for-of loop heads' | 'WeakMap cannot be invoked without new' | 'WeakRef cannot be invoked without new' | 'WeakSet cannot be invoked without new' | 'argument[0] must be a string' | 'argument[0] must be an ArrayBuffer' | 'arguments cannot be referenced in a class field initializer' | 'await cannot be used as an identifier inside async functions' | 'await cannot be used as an identifier inside async functions or modules' | 'await cannot be used as an identifier inside parameters of async functions' | 'await cannot be used in class static block' | 'await cannot be used in formal parameters' | 'await cannot be used inside parameters of arrow functions' | 'calendar is not a string' | 'direction option is required' | 'directionParam is required' | 'largestUnit must be larger than smallestUnit' | 'object.constructor[Symbol.species] is not a constructor' | 'relativeTo is required for calendar units' | 'relativeTo option is required when comparing durations with calendar units' | 'roundTo is required' | 'roundingIncrement must be 1 when rounding a date unit to a larger unit' | 'size property must be a positive integer' | 'size property must not be undefined, as it will be NaN' | 'smallestUnit and largestUnit cannot both be omitted' | 'smallestUnit cannot be auto' | 'smallestUnit cannot be hour' | 'smallestUnit cannot be hour or minute' | 'this has already been initialized' | 'this has not been initialized' | 'timeZone is not a string' | 'totalOf is required' | 'u and v cannot be used together' | 'unit cannot be auto' | 'with statement cannot be used in strict mode' | 'yield cannot be used as an identifier inside generator functions' | 'yield cannot be used as an identifier inside generator functions or modules' | 'yield cannot be used in formal parameters' | 'yield cannot be used inside parameters of arrow functions'): ThrowCompletion;
|
|
32
|
+
(m: '$1 can only be used with v flag' | '$1 cannot be inverted' | '$1 cannot be invoked without new' | '$1 cannot be used as a WeakMap key' | '$1 cannot be used as an identifier' | '$1 cannot be used as an identifier in strict mode' | '$1 cannot be used as an index' | '$1 cannot be used before initialization' | '$1 cannot be weakly referenced' | '$1 does not look like a TemporalTimeLike object' | '$1 is already declared' | '$1 is not a Promise constructor' | '$1 is not a RegExp object' | '$1 is not a TemporalTimeLike object' | '$1 is not a constructor' | '$1 is not a finite number' | '$1 is not a function' | '$1 is not a number' | '$1 is not a partial Temporal object' | '$1 is not a string' | '$1 is not a supported calendar' | '$1 is not a valid array length' | '$1 is not a valid epoch nanoseconds' | '$1 is not a valid modifier' | '$1 is not a valid month code' | '$1 is not a valid property name' | '$1 is not a valid undersized mode' | '$1 is not an integer' | '$1 is not an integral Number' | '$1 is not an integral Number or infinity' | '$1 is not an object' | '$1 is not an object or a symbol' | '$1 is not defined' | '$1 is not iterable' | '$1 is not object or null' | '$1 is not the [[ArrayBufferDetachKey]] of the given ArrayBuffer' | '$1 is out of range' | '$1 is too large' | '$1 is too small' | "'defineProperty' on proxy: trap returned truthy for adding property $1 that is incompatible with the existing property in the proxy target" | "'defineProperty' on proxy: trap returned truthy for adding property $1 to the non-extensible proxy target" | "'defineProperty' on proxy: trap returned truthy for defining non-configurable property $1 which cannot be non-writable, unless there exists a corresponding non-configurable, non-writable own property of the target object" | "'defineProperty' on proxy: trap returned truthy for defining non-configurable property $1 which is either non-existent or configurable in the proxy target" | "'deleteProperty' on proxy: trap returned truthy for property $1 but the proxy target is non-extensible" | "'deleteProperty' on proxy: trap returned truthy for property $1 which is non-configurable in the proxy target" | "'get' on proxy: property $1 is a non-configurable accessor property on the proxy target and does not have a getter function, but the trap did not return 'undefined'" | "'get' on proxy: property $1 is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value" | "'getOwnPropertyDescriptor' on proxy: trap reported non-configurability for property $1 which is either non-existent or configurable in the proxy target" | "'getOwnPropertyDescriptor' on proxy: trap reported non-configurability for property $1 which is writable or configurable in the proxy target" | "'getOwnPropertyDescriptor' on proxy: trap returned descriptor for property $1 that is incompatible with the existing property in the proxy target" | "'getOwnPropertyDescriptor' on proxy: trap returned neither object nor undefined for property $1" | "'getOwnPropertyDescriptor' on proxy: trap returned undefined for property $1 which exists in the non-extensible target" | "'getOwnPropertyDescriptor' on proxy: trap returned undefined for property $1 which is non-configurable in the proxy target" | "'has' on proxy: trap returned falsy for property $1 but the proxy target is not extensible" | "'has' on proxy: trap returned falsy for property $1 which exists in the proxy target as non-configurable" | "'isExtensible' on proxy: trap result does not reflect extensibility of proxy target (which is $1)" | "'ownKeys' on proxy: trap result did not include $1" | "'set' on proxy: trap returned truthy for property $1 which exists in the proxy target as a non-configurable and non-writable accessor property without a setter" | "'set' on proxy: trap returned truthy for property $1 which exists in the proxy target as a non-configurable and non-writable data property with a different value" | 'Accessor decorator must return an object or undefined, but $1 was returned' | 'Assignment to constant variable $1' | 'Cannot convert $1 to Temporal.Duration' | 'Cannot convert $1 to TemporalPartialDurationRecord' | 'Cannot convert $1 to a BigInt' | 'Cannot convert $1 to object' | 'Cannot convert a Symbol value to a $1' | 'Cannot convert a symbol value $1 to a number' | 'Cannot create a ShadowRealm wrapped function on $1' | 'Cannot define property $1' | 'Cannot delete property $1' | 'Cannot load module $1' | 'Cannot manipulate a running generator $1' | 'Cannot mix BigInt and other types in $1 operation' | "Cannot perform '$1' on a proxy that has been revoked" | 'Cannot resolve a promise $1 with itself' | 'Class decorator must return a function or undefined, but $1 was returned' | 'Count $1 is invalid' | 'Critical annotation "$1" failed.' | 'Duplicate import attribute $1' | 'Duplicate regular expression flag "$1"' | 'Duplicated capture group $1' | 'Expect a CharacterClassEscape but $1 found' | "Expected 'this' value to be a function but got $1" | 'Expected a character but got $1' | 'Export identifier $1 already declared' | 'Field decorator must return a function or undefined, but $1 was returned' | 'First argument to $1 must not be a regular expression' | 'Function $1 already declared' | 'Identifier $1 already declared' | 'Import attribute value must be a string, but $1' | 'Index $1 is too big' | 'Invalid TemporalUnit value $1' | 'Invalid code point $1' | 'Invalid format range for $1' | 'Invalid hint: $1' | 'Invalid time string $1' | 'Invalid time zone identifier: $1' | 'Label $1 not found' | 'Method decorator must return a function or undefined, but $1 was returned' | 'Module "$1" is not ready for synchronous execution' | 'Module undefined export $1' | 'No module loader can load this module request.$1' | 'Only primitive values and functions can be passed across the ShadowRealm boundary, but $1 is an object' | 'Private field $1 is not a getter' | 'Private field $1 is not a setter' | 'Private identifier $1 already declared' | 'Private identifier $1 not defined' | 'Private method $1 cannot be set' | 'Promise reject function $1 is not callable' | 'Promise resolve function $1 is not callable' | 'Property descriptors must not specify both accessors and a value or writable attribute, but $1 does' | 'RegExp flags must not have duplicates ($1)' | 'RegExp has invalid flags ($1)' | 'Return value $1 of a derived constructor is not an object or undefined' | 'Right-hand side of "in" ($1) is not an object' | 'Right-hand side of "instanceof" ($1) is not a function' | 'Right-hand side of "instanceof" ($1) is not an object' | 'Subclass constructor returned a smaller-than-requested object $1' | 'Subclass constructor returned the same object $1' | 'Super class $1 is not a constructor' | 'The "with" option in import() must be an object, but $1' | 'The RegExp passed to String.prototype.$1 must have the global flag' | 'The get property of the return value of an accessor decorator must be a function or undefined, but $1 was returned' | 'The init property of the return value of an accessor decorator must be a function or undefined, but $1 was returned' | 'The iterator $1 does not provide a throw method' | 'The second argument to import() must be an object, but $1' | 'The set property of the return value of an accessor decorator must be a function or undefined, but $1 was returned' | 'There is no $1 capture groups' | 'There is no capture group called $1' | 'Unable to freeze object $1' | 'Unable to prevent extensions on object $1' | 'Unable to seal object $1' | 'Unexpected $1' | 'Unexpected character $1 in JSON' | 'Unsupported import attribute "$1"' | 'Unsupported import attribute $1' | 'Variable $1 already declared' | 'addInitializer must be called with a function, but $1 was passed' | 'arguments[0] ($1) is not a symbol' | 'arguments[1] ($1) is not a function' | 'calendar must be a string, but $1' | 'calendarName option is invalid ($1), only "auto", "always", "never" and "critical" are accepted' | 'callbackfn ($1) is not a function' | 'comparator ($1) is not a function' | 'direction option is not valid ($1), only "next" and "previous" are accepted' | 'disambiguation option is invalid ($1), only "compatible", "earlier", "later" and "reject" are accepted' | 'heldValue $1 matches target' | 'invalid time zone identifier: $1' | 'mapper ($1) is not a function' | 'monthCode ($1) is not a string' | 'offset option is invalid ($1), only "auto" and "never" are accepted' | 'offset option is invalid ($1), only "prefer", "use", "ignore" and "reject" are accepted' | 'option $1 is required' | 'option.padding $1 is not an object' | 'options.padding $1 is not an object' | 'overflow option is invalid ($1), only "constrain" and "reject" are accepted' | 'stack property must be set to a string value, but got $1' | 'super ($1) is not a constructor' | 'targetOffset ($1) cannot be negative' | 'temporalCalendarLike must be a string or a Temporal object, but got $1' | 'this value $1 is not an object' | 'this.add ($1) is not a function' | 'timeZoneName option is invalid ($1), only "auto", "never" and "critical" are accepted', $1: Formattable): ThrowCompletion;
|
|
33
|
+
(m: '"add" property ($1) of object $2 is not a function' | '"set" property ($1) of object $2 is not a function' | '$1 called on invalid receiver: $2' | '$1 does not exist on $2' | '$1 does not match any of productions ($2)' | '$1 is a required on object $2' | '$1 is not a $2' | '$1 is not a $2 object' | 'Cannot create a proxy with a $1 as $2' | 'Cannot not delete property $1 on $2' | 'Cannot set property $1 on $2' | 'Expected $1 but got $2' | 'Expected character $1 but got $2 in JSON' | 'Export $1 from module "$2" is ambiguous' | 'Invalid range: $1 is bigger than $2' | 'Module "$1" does not have an export named $2' | 'Module $1 does not have an export named $2' | 'Object $1 does not have internal slot [[$2]]' | 'Private element $1 is already defined on $2' | 'Size of $1 should be a multiple of $2' | 'Start offset of $1 should be a multiple of $2' | 'The return value ($1) of the next() on an iterator ($2) must be an object' | 'The return value ($1) of the return() on an iterator ($2) must be an object' | 'The return value ($1) of the throw() on an iterator ($2) must be an object' | 'getter ($1) in a property descriptor $2 must be a function' | 'setter ($1) in a property descriptor $2 must be a function', $1: Formattable, $2: Formattable): ThrowCompletion;
|
|
34
|
+
(m: '"roundingMode" on object $1 is not valid ($2), only $3 are accepted' | '$1 is not a function. (In "$2", it is $3)' | '$1-$2-$3 is not a valid date' | 'Duration($1, $2, $3, $4) is not a valid duration' | 'option $1 does not accept value $2 (only $3 accepted)', $1: Formattable, $2: Formattable, $3: Formattable): ThrowCompletion;
|
|
35
|
+
<const S extends string>(m: S, ...args: ParsePrintFormat<S>): ThrowCompletion;
|
|
36
|
+
}
|
|
37
|
+
type ParametersMap = {
|
|
38
|
+
'1': Formattable;
|
|
39
|
+
'2': Formattable;
|
|
40
|
+
'3': Formattable;
|
|
41
|
+
'4': Formattable;
|
|
42
|
+
'5': Formattable;
|
|
43
|
+
};
|
|
44
|
+
type ParsePrintFormat<S extends string> = S extends `${string}$${infer T}${infer End}` ? T extends keyof ParametersMap ? [ParametersMap[T], ...ParsePrintFormat<End>] : ParsePrintFormat<End> : [];
|
|
45
|
+
//# sourceMappingURL=error-messages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-messages.d.mts","sourceRoot":"","sources":["../../src/host-defined/error-messages.mts"],"names":[],"mappings":"AAOA,OAAO,EAG2Q,WAAW,EAAiC,eAAe,EAAkB,KAAK,EAEnW,MAAM,OAAO,CAAC;AAEf,sDAAsD;AACtD,wBAAgB,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAuDtC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,WAAW,EAAE,CAAC;AAElG,wBAAgB,MAAM,CAAC,GAAG,EAAE,WAAW,GAAG,MAAM,CAqF/C;AAsBD,MAAM,WAAW,KAAK;IAEpB,CAAC,CAAC,EACJ,mEAAmE,GAC/D,mBAAmB,GACnB,qCAAqC,GACrC,oBAAoB,GACpB,4GAA4G,GAC5G,kEAAkE,GAClE,wFAAwF,GACxF,qDAAqD,GACrD,uFAAuF,GACvF,gHAAgH,GAChH,4EAA4E,GAC5E,kDAAkD,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5C,8CAA8C,GAC9C,6CAA6C,GAC7C,uCAAuC,GACvC,+CAA+C,GAC/C,2EAA2E,GAC3E,6EAA6E,GAC7E,4EAA4E,GAC5E,4DAA4D,GAC5D,4DAA4D,EAC5D,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,GAAG,eAAe,CAAC;IACrD,CAAC,CAAC,EACJ,qEAAqE,GACjE,2CAA2C,GAC3C,8BAA8B,GAC9B,kDAAkD,GAClD,uDAAuD,EACvD,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,GAAG,eAAe,CAAC;IAEtE,CAAC,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC;CAC/E;AAGD,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;CAClB,CAAA;AACD,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,IAAI,MAAM,CAAC,GAAG,MAAM,GAAG,EAAE,GAAG,CAAC,SAAS,MAAM,aAAa,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Agent, type GCMarker, type Job, type Markable } from '#self';
|
|
2
|
+
/** https://nodejs.org/learn/asynchronous-work/event-loop-timers-and-nexttick */
|
|
3
|
+
export type NodeJSJobType = 'timers' | 'pending callbacks' | 'idle-prepare' | 'poll' | 'check' | 'close callbacks';
|
|
4
|
+
export type EventLoopRunType = 'manual' | 'automatic';
|
|
5
|
+
export interface EventLoop extends Markable {
|
|
6
|
+
/**
|
|
7
|
+
* Enqueue a host job (macrotask) now.
|
|
8
|
+
*/
|
|
9
|
+
enqueue(type: NodeJSJobType | string, job: Job): void;
|
|
10
|
+
/**
|
|
11
|
+
* Enqueue a host job (macrotask) in the future.
|
|
12
|
+
* It will keep `hasPendingJobs` to be `true` until `enqueue` is called.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```
|
|
16
|
+
* eventLoop.enqueueAsync('timers', job, (enqueue, cancel) => {
|
|
17
|
+
* setTimeout(() => {
|
|
18
|
+
* enqueue();
|
|
19
|
+
* }, timeout);
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
enqueueAsync(type: NodeJSJobType | string, job: Job, executor: (enqueue: () => void, cancel: () => void) => void): void;
|
|
24
|
+
/** Change the automatic run type of the event loop and run it */
|
|
25
|
+
run(type: EventLoopRunType): void;
|
|
26
|
+
runOnce(): void;
|
|
27
|
+
readonly hasPendingJobs: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Register a callback to be called when there are no async queued jobs.
|
|
30
|
+
*
|
|
31
|
+
* This can be used to implement a mechanism to exit the program when all code has finished executing.
|
|
32
|
+
*/
|
|
33
|
+
onNoPendingJob: Set<() => void>;
|
|
34
|
+
}
|
|
35
|
+
export declare abstract class AbstractEventLoop implements EventLoop {
|
|
36
|
+
#private;
|
|
37
|
+
protected readonly surroundingAgent: Agent;
|
|
38
|
+
readonly onNoPendingJob: Set<() => void>;
|
|
39
|
+
constructor(surroundingAgent: Agent);
|
|
40
|
+
abstract enqueue(type: NodeJSJobType | string, job: Job): void;
|
|
41
|
+
protected abstract shiftNextJob(): Job | undefined;
|
|
42
|
+
protected abstract get hasQueuedJobs(): boolean;
|
|
43
|
+
protected tryScheduleAutomaticFlush(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Enqueue a host job (macrotask) in the future.
|
|
46
|
+
* It will keep `hasPendingJobs` to be `true` until `enqueue` is called.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```
|
|
50
|
+
* eventLoop.enqueueAsync('timers', job, (enqueue, cancel) => {
|
|
51
|
+
* setTimeout(() => {
|
|
52
|
+
* enqueue();
|
|
53
|
+
* }, timeout);
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
enqueueAsync(type: NodeJSJobType | string, job: Job, doAsyncEnqueue: (enqueue: () => void, cancel: () => void) => void): void;
|
|
58
|
+
get hasPendingJobs(): boolean;
|
|
59
|
+
/** Change the automatic run type of the event loop */
|
|
60
|
+
run(type: EventLoopRunType): void;
|
|
61
|
+
runOnce(): void;
|
|
62
|
+
mark(marker: GCMarker): void;
|
|
63
|
+
}
|
|
64
|
+
export declare class MicroTaskEventLoop extends AbstractEventLoop {
|
|
65
|
+
enqueue(_type: string, job: Job): void;
|
|
66
|
+
protected shiftNextJob(): Job | undefined;
|
|
67
|
+
protected get hasQueuedJobs(): boolean;
|
|
68
|
+
}
|
|
69
|
+
/** https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide/In_depth */
|
|
70
|
+
export declare class WebLikeEventLoop extends AbstractEventLoop {
|
|
71
|
+
protected jobsByType: Record<string, Set<Job>>;
|
|
72
|
+
protected queuedJobs: Map<Job, string>;
|
|
73
|
+
/**
|
|
74
|
+
* Enqueue a host job (macrotask) now.
|
|
75
|
+
*/
|
|
76
|
+
enqueue(type: NodeJSJobType | string, job: Job): void;
|
|
77
|
+
protected shiftNextJob(): Job | undefined;
|
|
78
|
+
protected get hasQueuedJobs(): boolean;
|
|
79
|
+
mark(marker: GCMarker): void;
|
|
80
|
+
}
|
|
81
|
+
/** https://nodejs.org/learn/asynchronous-work/event-loop-timers-and-nexttick */
|
|
82
|
+
export declare class NodeJSLikeEventLoop extends AbstractEventLoop {
|
|
83
|
+
#private;
|
|
84
|
+
fallbackType: NodeJSJobType;
|
|
85
|
+
protected jobsByType: Record<NodeJSJobType, Set<Job>>;
|
|
86
|
+
protected queuedJobs: Set<Job>;
|
|
87
|
+
enqueue(type: NodeJSJobType | string, job: Job): void;
|
|
88
|
+
protected shiftNextJob(): Job | undefined;
|
|
89
|
+
protected get hasQueuedJobs(): boolean;
|
|
90
|
+
mark(marker: GCMarker): void;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=event-loop.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-loop.d.mts","sourceRoot":"","sources":["../../src/host-defined/event-loop.mts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,KAAK,QAAQ,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAEvC,MAAM,OAAO,CAAC;AAEf,gFAAgF;AAChF,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,mBAAmB,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,iBAAiB,CAAC;AACnH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEtD,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,CAAC;IAEtD;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK,IAAI,GAAG,IAAI,CAAC;IAExH,iEAAiE;IACjE,GAAG,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAElC,OAAO,IAAI,IAAI,CAAC;IAEhB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC;;;;OAIG;IACH,cAAc,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;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U,mBAA0B;IAE9C;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,CAKpD;IAED,SAAS,CAAC,YAAY,IAAI,GAAG,GAAG,SAAS,CAQxC;IAED,SAAS,KAAK,aAAa,IAAI,OAAO,CAErC;IAEQ,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,IAAI,CAOpC;CACF;AAcD,gFAAgF;AAChF,qBAAa,mBAAoB,SAAQ,iBAAiB;;IACxD,YAAY,EAAE,aAAa,CAAU;IAErC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAOnD;IAEF,SAAS,CAAC,UAAU,WAAkB;IAEtC,OAAO,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,CAKpD;IAmBD,SAAS,CAAC,YAAY,IAAI,GAAG,GAAG,SAAS,CAWxC;IAED,SAAS,KAAK,aAAa,IAAI,OAAO,CAErC;IAEQ,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,IAAI,CAOpC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function encodeFloat16(value: number): number[];
|
|
2
|
+
export declare function decodeFloat16(rawBytes: readonly number[]): number;
|
|
3
|
+
export declare function encodeFloat32(value: number): number[];
|
|
4
|
+
export declare function decodeFloat32(rawBytes: readonly number[]): number;
|
|
5
|
+
export declare function encodeFloat64(value: number): number[];
|
|
6
|
+
export declare function decodeFloat64(rawBytes: readonly number[]): number;
|
|
7
|
+
//# sourceMappingURL=ieee754.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ieee754.d.mts","sourceRoot":"","sources":["../../src/host-defined/ieee754.mts"],"names":[],"mappings":"AA6LA,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,YAE1C;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,UAExD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,YAE1C;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,UAExD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,YAE1C;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,UAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.d.mts","sourceRoot":"","sources":["../../src/host-defined/inspect.mts"],"names":[],"mappings":"AAAA,OAAO,EACuB,KAAK,EAClC,MAAM,cAAc,CAAC;AAYtB,OAAO,EAKY,KAAK,eAAe,EACtC,MAAM,OAAO,CAAC;AAwNf,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,eAAe,GAAG,MAAM,CAa9D"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type GCMarker, type Job, type Markable, Value } from '#self';
|
|
2
|
+
/** https://tc39.es/ecma262/#sec-jobs */
|
|
3
|
+
export declare function runSingleJobInQueue(job: Job, onError: (error: Value) => void, finished: () => void): void;
|
|
4
|
+
export interface JobQueue extends Markable {
|
|
5
|
+
enqueueFinalizationRegistryCleanupJob(job: Job): void;
|
|
6
|
+
enqueuePromiseJob(job: Job): void;
|
|
7
|
+
enqueueTimeoutJob(job: Job): void;
|
|
8
|
+
enqueueGenericJob(job: Job): void;
|
|
9
|
+
onNewJob: Set<(job: Job) => void>;
|
|
10
|
+
shift(): Job | undefined;
|
|
11
|
+
shiftFinalizationRegistryCleanupJob?(): Job | undefined;
|
|
12
|
+
shiftPromiseJob?(): Job | undefined;
|
|
13
|
+
shiftTimeoutJob?(): Job | undefined;
|
|
14
|
+
shiftGenericJob?(): Job | undefined;
|
|
15
|
+
get length(): number;
|
|
16
|
+
}
|
|
17
|
+
export declare class BasicJobQueue extends Set<Job> implements JobQueue, Markable {
|
|
18
|
+
enqueueFinalizationRegistryCleanupJob(job: Job): void;
|
|
19
|
+
enqueuePromiseJob(job: Job): void;
|
|
20
|
+
enqueueTimeoutJob(job: Job): void;
|
|
21
|
+
enqueueGenericJob(job: Job): void;
|
|
22
|
+
onNewJob: JobQueue['onNewJob'];
|
|
23
|
+
shift(): Job | undefined;
|
|
24
|
+
get length(): number;
|
|
25
|
+
mark(marker: GCMarker): void;
|
|
26
|
+
}
|
|
27
|
+
export declare class ByTypeJobQueue implements JobQueue, Markable {
|
|
28
|
+
#private;
|
|
29
|
+
enqueueFinalizationRegistryCleanupJob(job: Job): void;
|
|
30
|
+
enqueuePromiseJob(job: Job): void;
|
|
31
|
+
enqueueTimeoutJob(job: Job): void;
|
|
32
|
+
enqueueGenericJob(job: Job): void;
|
|
33
|
+
onNewJob: JobQueue['onNewJob'];
|
|
34
|
+
shift(): Job | undefined;
|
|
35
|
+
shiftFinalizationRegistryCleanupJob(): Job | undefined;
|
|
36
|
+
shiftPromiseJob(): Job | undefined;
|
|
37
|
+
shiftTimeoutJob(): Job | undefined;
|
|
38
|
+
shiftGenericJob(): Job | undefined;
|
|
39
|
+
get length(): number;
|
|
40
|
+
mark(marker: GCMarker): void;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=job-queue.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job-queue.d.mts","sourceRoot":"","sources":["../../src/host-defined/job-queue.mts"],"names":[],"mappings":"AACA,OAAO,EACyD,KAAK,QAAQ,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAAmB,KAAK,EAC7H,MAAM,OAAO,CAAC;AAGf,wCAAwC;AACxC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,EAAE,QAAQ,EAAE,MAAM,IAAI,QAsClG;AAED,MAAM,WAAW,QAAS,SAAQ,QAAQ;IACxC,qCAAqC,CAAC,GAAG,EAA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G,EAAE,GAAG,GAAG,IAAI,CAIhC;IAED,iBAAiB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAIhC;IAED,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAa;IAE3C,KAAK,IAAI,GAAG,GAAG,SAAS,CAQvB;IAED,mCAAmC,IAAI,GAAG,GAAG,SAAS,CAKrD;IAED,eAAe,IAAI,GAAG,GAAG,SAAS,CAKjC;IAED,eAAe,IAAI,GAAG,GAAG,SAAS,CAKjC;IAED,eAAe,IAAI,GAAG,GAAG,SAAS,CAKjC;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,CAAC,MAAM,EAAE,QAAQ,GAAG,IAAI,CAM3B;CACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is based on https://github.com/mziccard/node-timsort
|
|
3
|
+
* MIT licensed: https://github.com/mziccard/node-timsort/blob/master/LICENSE.md
|
|
4
|
+
*/
|
|
5
|
+
import { type PlainEvaluator, type Value } from '#self';
|
|
6
|
+
export type Comparer = (x: Value, y: Value) => PlainEvaluator<number>;
|
|
7
|
+
/**
|
|
8
|
+
* Sort an array using TimSort.
|
|
9
|
+
*
|
|
10
|
+
* @param array - The array to sort.
|
|
11
|
+
* @param compare - Item comparison function.
|
|
12
|
+
*/
|
|
13
|
+
export declare function sort(array: Value[], compare: Comparer): PlainEvaluator;
|
|
14
|
+
//# sourceMappingURL=sort.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort.d.mts","sourceRoot":"","sources":["../../src/host-defined/sort.mts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH,OAAO,EAAK,KAAK,cAAc,EAAE,KAAK,KAAK,EAAE,MAAM,OAAO,CAAC;AA+xB3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;AAEtE;;;;;GAKG;AACH,wBAAiB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,GAAG,cAAc,CA6CvE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ManagedRealm } from '#self';
|
|
2
|
+
/** https://github.com/tc39/test262/blob/main/INTERPRETING.md */
|
|
3
|
+
export declare function createTest262Intrinsics(realm: ManagedRealm, printCompatMode: boolean, log?: (...args: unknown[]) => void): {
|
|
4
|
+
$262: import("#self").OrdinaryObject;
|
|
5
|
+
};
|
|
6
|
+
export declare function importBundledTest262Harness(realm: ManagedRealm, nameMapper?: (str: string) => string): void;
|
|
7
|
+
export declare function boostTest262Harness(realm: ManagedRealm): void;
|
|
8
|
+
//# sourceMappingURL=test262-intrinsics.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test262-intrinsics.d.mts","sourceRoot":"","sources":["../../src/host-defined/test262-intrinsics.mts"],"names":[],"mappings":"AAIA,OAAO,EAC6H,YAAY,EAa/I,MAAM,OAAO,CAAC;AAEf,gEAAgE;AAChE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,GAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAA6C;;EAyFhK;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,YAAY,EACnB,UAAU,SAAS,MAAM,WAA+D,QASzF;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,QAQtD"}
|