",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ },
+ "license": "MIT",
+ "main": "index.js",
+ "exports": {
+ ".": "./index.js",
+ "./auto": "./auto.js",
+ "./polyfill": "./polyfill.js",
+ "./implementation": "./implementation.js",
+ "./shim": "./shim.js",
+ "./package.json": "./package.json"
+ },
+ "scripts": {
+ "prepack": "npmignore --auto --commentLines=autogenerated",
+ "prepublish": "not-in-publish || npm run prepublishOnly",
+ "prepublishOnly": "safe-publish-latest",
+ "pretest": "npm run lint",
+ "test": "npm run tests-only",
+ "posttest": "npx npm@'>=10.2' audit --production",
+ "tests-only": "nyc tape 'test/**/*.js'",
+ "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
+ "lint": "eslint --ext=js,mjs .",
+ "postlint": "evalmd README.md && es-shim-api --bound",
+ "version": "auto-changelog && git add CHANGELOG.md",
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/es-shims/ArrayBuffer.prototype.slice.git"
+ },
+ "homepage": "https://github.com/es-shims/ArrayBuffer.prototype.slice#readme",
+ "bugs": {
+ "url": "https://github.com/es-shims/ArrayBuffer.prototype.slice/issues"
+ },
+ "keywords": [
+ "javascript",
+ "ecmascript",
+ "ArrayBuffer.prototype.slice",
+ "polyfill",
+ "shim",
+ "ArrayBuffer",
+ "array",
+ "buffer",
+ "ArrayBuffer#slice",
+ "slice",
+ "typed array",
+ "es-shim API"
+ ],
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "is-array-buffer": "^3.0.4"
+ },
+ "devDependencies": {
+ "@es-shims/api": "^2.5.1",
+ "@ljharb/eslint-config": "^21.1.1",
+ "auto-changelog": "^2.5.0",
+ "eclint": "^2.8.1",
+ "encoding": "^0.1.13",
+ "es-value-fixtures": "^1.5.0",
+ "eslint": "=8.8.0",
+ "evalmd": "^0.0.19",
+ "for-each": "^0.3.3",
+ "functions-have-names": "^1.2.3",
+ "has-strict-mode": "^1.0.1",
+ "in-publish": "^2.0.1",
+ "npmignore": "^0.3.1",
+ "nyc": "^10.3.2",
+ "object-inspect": "^1.13.3",
+ "safe-publish-latest": "^2.0.0",
+ "tape": "^5.9.0"
+ },
+ "testling": {
+ "files": "test/index.js"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "auto-changelog": {
+ "output": "CHANGELOG.md",
+ "template": "keepachangelog",
+ "unreleased": false,
+ "commitLimit": false,
+ "backfillLimit": false,
+ "hideCredit": true
+ },
+ "publishConfig": {
+ "ignore": [
+ ".github/workflows"
+ ]
+ }
+}
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/polyfill.js b/tools/ui/node_modules/arraybuffer.prototype.slice/polyfill.js
new file mode 100644
index 0000000000000000000000000000000000000000..a4a90ca166ee027f736734902943b2001a8ebe98
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/polyfill.js
@@ -0,0 +1,21 @@
+'use strict';
+
+var callBind = require('call-bind');
+
+var implementation = require('./implementation');
+
+var ownSlice = typeof ArrayBuffer === 'function' && new ArrayBuffer(0).slice;
+var ownSliceBound = ownSlice && callBind(ownSlice);
+var ownSliceWrapper = ownSliceBound && function slice(start, end) {
+ /* eslint no-invalid-this: 0 */
+ if (arguments.length < 2) {
+ return ownSliceBound(this, arguments.length > 0 ? start : 0);
+ }
+ return ownSliceBound(this, start, end);
+};
+
+module.exports = function getPolyfill() {
+ return (typeof ArrayBuffer === 'function' && ArrayBuffer.prototype.slice)
+ || ownSliceWrapper
+ || implementation;
+};
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/shim.js b/tools/ui/node_modules/arraybuffer.prototype.slice/shim.js
new file mode 100644
index 0000000000000000000000000000000000000000..cb52c0710281803247e13a827ea429212ad662b2
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/shim.js
@@ -0,0 +1,18 @@
+'use strict';
+
+var define = require('define-properties');
+
+var getPolyfill = require('./polyfill');
+
+module.exports = function shimArrayBufferSlice() {
+ if (typeof ArrayBuffer === 'function') {
+ var polyfill = getPolyfill();
+ define(
+ ArrayBuffer.prototype,
+ { slice: polyfill },
+ { slice: function () { return ArrayBuffer.prototype.slice !== polyfill; } }
+ );
+ }
+
+ return polyfill;
+};
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/test/implementation.js b/tools/ui/node_modules/arraybuffer.prototype.slice/test/implementation.js
new file mode 100644
index 0000000000000000000000000000000000000000..7d97bb77c3e91762b2fcce32cc888e221add14aa
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/test/implementation.js
@@ -0,0 +1,32 @@
+'use strict';
+
+var implementation = require('../implementation');
+var callBind = require('call-bind');
+var test = require('tape');
+var hasStrictMode = require('has-strict-mode')();
+var runTests = require('./tests');
+
+test('as a function', function (t) {
+ t.test('ArrayBuffer support', { skip: typeof ArrayBuffer === 'undefined' }, function (st) {
+ st.test('bad array/this value', { skip: !hasStrictMode }, function (s2t) {
+ /* eslint no-useless-call: 0 */
+ s2t['throws'](function () { implementation.call(undefined); }, TypeError, 'undefined is not an object');
+ s2t['throws'](function () { implementation.call(null); }, TypeError, 'null is not an object');
+ s2t.end();
+ });
+
+ runTests(callBind(implementation), st);
+
+ st.end();
+ });
+
+ t.test('no ArrayBuffer support', { skip: typeof ArrayBuffer !== 'undefined' }, function (st) {
+ st['throws'](
+ function () { implementation.call({}); },
+ SyntaxError,
+ 'ArrayBuffer is not supported'
+ );
+ });
+
+ t.end();
+});
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/test/index.js b/tools/ui/node_modules/arraybuffer.prototype.slice/test/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..0e9dd102cd8e7d63b454f9562d4b548a6b4135ac
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/test/index.js
@@ -0,0 +1,29 @@
+'use strict';
+
+var index = require('../');
+var test = require('tape');
+var runTests = require('./tests');
+
+test('as a function', function (t) {
+ t.test('ArrayBuffer support', { skip: typeof ArrayBuffer === 'undefined' }, function (st) {
+ st.test('bad array/this value', function (s2t) {
+ s2t['throws'](function () { index(undefined); }, TypeError, 'undefined is not an object');
+ s2t['throws'](function () { index(null); }, TypeError, 'null is not an object');
+ s2t.end();
+ });
+
+ runTests(index, st);
+
+ st.end();
+ });
+
+ t.test('no ArrayBuffer support', { skip: typeof ArrayBuffer !== 'undefined' }, function (st) {
+ st['throws'](
+ function () { index({}); },
+ SyntaxError,
+ 'ArrayBuffer is not supported'
+ );
+ });
+
+ t.end();
+});
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/test/shimmed.js b/tools/ui/node_modules/arraybuffer.prototype.slice/test/shimmed.js
new file mode 100644
index 0000000000000000000000000000000000000000..8dd4f72142e89a94bbed91769a5327018548e77b
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/test/shimmed.js
@@ -0,0 +1,54 @@
+'use strict';
+
+require('../auto');
+
+var test = require('tape');
+var defineProperties = require('define-properties');
+var callBind = require('call-bind');
+
+var isEnumerable = Object.prototype.propertyIsEnumerable;
+var functionsHaveNames = require('functions-have-names')();
+var hasStrictMode = require('has-strict-mode')();
+
+var runTests = require('./tests');
+
+test('shimmed', function (t) {
+ t.test('ArrayBuffer support', { skip: typeof ArrayBuffer === 'undefined' }, function (st) {
+ var method = ArrayBuffer.prototype.slice;
+
+ st.equal(method.length, 2, 'ArrayBuffer#slice has a length of 2');
+
+ st.test('Function name', { skip: !functionsHaveNames }, function (s2t) {
+ s2t.equal(method.name, 'slice', 'ArrayBuffer#slice name "slice"');
+ s2t.end();
+ });
+
+ st.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) {
+ et.equal(false, isEnumerable.call(ArrayBuffer.prototype, 'slice'), 'ArrayBuffer#slice is not enumerable');
+ et.end();
+ });
+
+ st.test('bad array/this value', { skip: !hasStrictMode }, function (s2t) {
+ /* eslint no-useless-call: 0 */
+ s2t['throws'](function () { return method.call(undefined); }, TypeError, 'undefined is not an object');
+ s2t['throws'](function () { return method.call(null); }, TypeError, 'null is not an object');
+ s2t.end();
+ });
+
+ t.test('has the correct descriptor', { skip: !Object.getOwnPropertyDescriptor }, function (s2t) {
+ var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, 'slice');
+
+ s2t.equal(descriptor.configurable, true);
+ s2t.equal(descriptor.enumerable, false);
+ s2t.equal(typeof descriptor.value, 'function');
+ s2t.equal(descriptor.writable, true);
+ s2t.end();
+ });
+
+ runTests(callBind(method), st);
+
+ st.end();
+ });
+
+ t.end();
+});
diff --git a/tools/ui/node_modules/arraybuffer.prototype.slice/test/tests.js b/tools/ui/node_modules/arraybuffer.prototype.slice/test/tests.js
new file mode 100644
index 0000000000000000000000000000000000000000..4128b1b9fd16569649e115ecd72483f16433f88b
--- /dev/null
+++ b/tools/ui/node_modules/arraybuffer.prototype.slice/test/tests.js
@@ -0,0 +1,81 @@
+'use strict';
+
+var inspect = require('object-inspect');
+var IsDetachedBuffer = require('es-abstract/2024/IsDetachedBuffer');
+
+var forEach = require('for-each');
+var v = require('es-value-fixtures');
+
+var byteLength = require('array-buffer-byte-length');
+
+module.exports = function runTests(slice, t) {
+ forEach(v.primitives.concat(v.objects), function (nonAB) {
+ t['throws'](
+ function () { slice(nonAB); },
+ TypeError,
+ inspect(nonAB) + ' is not an ArrayBuffer'
+ );
+ });
+
+ t.test('ArrayBuffers', { skip: typeof ArrayBuffer === 'undefined' }, function (st) {
+ var ab = new ArrayBuffer(0);
+
+ st.equal(IsDetachedBuffer(ab), false, 'ArrayBuffer is not detached');
+
+ try {
+ var nb = slice(ab);
+ } catch (e) {
+ if (e instanceof SyntaxError) {
+ st.skip('Detaching ArrayBuffer is not supported');
+ return st.end();
+ }
+ console.log(e.stack);
+ }
+
+ st.notEqual(nb, ab, 'new ArrayBuffer is not the same as the original');
+ st.equal(IsDetachedBuffer(ab), false, 'old ArrayBuffer is not detached');
+ st.equal(IsDetachedBuffer(nb), false, 'new ArrayBuffer is not detached');
+
+ var ab2 = new ArrayBuffer(8);
+ st.equal(byteLength(ab2), 8, 'original ArrayBuffer has length 8');
+ try {
+ var nbLen = slice(ab2, 4);
+ } catch (e) {
+ if (e instanceof SyntaxError) {
+ st.skip('Detaching ArrayBuffer is not supported');
+ return st.end();
+ }
+ }
+ st.equal(IsDetachedBuffer(ab2), false, 'old ArrayBuffer is not detached');
+ st.equal(IsDetachedBuffer(nbLen), false, 'new ArrayBuffer is not detached');
+
+ st.equal(byteLength(ab2), 8, 'original ArrayBuffer has length 8');
+ st.equal(byteLength(nbLen), 4, 'newly sliced ArrayBuffer has length 4');
+
+ var one = new ArrayBuffer(1);
+ var arr = new Uint8Array(one);
+ arr[0] = 123;
+
+ var two = slice(one);
+
+ var arr2 = new Uint8Array(two);
+ arr2[0] = 234;
+
+ st.deepEqual(arr, new Uint8Array([123]), 'original buffer is unchanged');
+ st.deepEqual(arr2, new Uint8Array([234]), 'sliced buffer is changed');
+
+ return st.end();
+ });
+
+ t.test('SharedArrayBuffers', { skip: typeof SharedArrayBuffer === 'undefined' }, function (st) {
+ var sab = new SharedArrayBuffer(0);
+
+ st['throws'](
+ function () { slice(sab); },
+ TypeError,
+ inspect(sab) + ' is not an ArrayBuffer'
+ );
+
+ st.end();
+ });
+};
diff --git a/tools/ui/node_modules/assertion-error/LICENSE b/tools/ui/node_modules/assertion-error/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..5e9f3ac637bf65413e58f692249f6138c4ad0172
--- /dev/null
+++ b/tools/ui/node_modules/assertion-error/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2013 Jake Luer jake@qualiancy.com (http://qualiancy.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/tools/ui/node_modules/assertion-error/README.md b/tools/ui/node_modules/assertion-error/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..37c392879ab0340727c15ac2860cf965a4aa0362
--- /dev/null
+++ b/tools/ui/node_modules/assertion-error/README.md
@@ -0,0 +1,68 @@
+
+ AssertionError and AssertionResult classes.
+
+
+
+
+
+
+
+
+
+
+
+
+## What is AssertionError?
+
+Assertion Error is a module that contains two classes: `AssertionError`, which
+is an instance of an `Error`, and `AssertionResult` which is not an instance of
+Error.
+
+These can be useful for returning from a function - if the function "succeeds"
+return an `AssertionResult` and if the function fails return (or throw) an
+`AssertionError`.
+
+Both `AssertionError` and `AssertionResult` implement the `Result` interface:
+
+```typescript
+interface Result {
+ name: "AssertionError" | "AssertionResult";
+ ok: boolean;
+ toJSON(...args: unknown[]): Record;
+}
+```
+
+So if a function returns `AssertionResult | AssertionError` it is easy to check
+_which_ one is returned by checking either `.name` or `.ok`, or check
+`instanceof Error`.
+
+## Installation
+
+### Node.js
+
+`assertion-error` is available on [npm](http://npmjs.org).
+
+```
+$ npm install --save assertion-error
+```
+
+### Deno
+
+`assertion_error` is available on
+[Deno.land](https://deno.land/x/assertion_error)
+
+```typescript
+import {
+ AssertionError,
+ AssertionResult,
+} from "https://deno.land/x/assertion_error@2.0.0/mod.ts";
+```
diff --git a/tools/ui/node_modules/assertion-error/index.d.ts b/tools/ui/node_modules/assertion-error/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d8fda2c783699a14b450070815b4ae070417c8e4
--- /dev/null
+++ b/tools/ui/node_modules/assertion-error/index.d.ts
@@ -0,0 +1,27 @@
+interface Result {
+ name: "AssertionError" | "AssertionResult";
+ ok: boolean;
+ toJSON(...args: unknown[]): Record;
+}
+
+declare class AssertionError extends Error implements Result {
+ [key: string]: unknown
+ name: "AssertionError";
+ ok: false;
+ message: string;
+ // deno-lint-ignore ban-types
+ constructor(message: string, props?: T, ssf?: Function);
+ stack: string;
+ toJSON(stack?: boolean): Record;
+}
+
+declare class AssertionResult implements Result {
+ [key: string]: unknown
+ name: "AssertionResult";
+ ok: true;
+ message: string;
+ constructor(props?: T);
+ toJSON(): Record;
+}
+
+export { AssertionError, AssertionResult, Result };
diff --git a/tools/ui/node_modules/assertion-error/index.js b/tools/ui/node_modules/assertion-error/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..2bfcb81ed4731d59533729c5e3d1bd5c33e89e2c
--- /dev/null
+++ b/tools/ui/node_modules/assertion-error/index.js
@@ -0,0 +1,60 @@
+// deno-fmt-ignore-file
+// deno-lint-ignore-file
+// This code was bundled using `deno bundle` and it's not recommended to edit it manually
+
+const canElideFrames = "captureStackTrace" in Error;
+class AssertionError extends Error {
+ message;
+ get name() {
+ return "AssertionError";
+ }
+ get ok() {
+ return false;
+ }
+ constructor(message = "Unspecified AssertionError", props, ssf){
+ super(message);
+ this.message = message;
+ if (canElideFrames) {
+ Error.captureStackTrace(this, ssf || AssertionError);
+ }
+ for(const key in props){
+ if (!(key in this)) {
+ this[key] = props[key];
+ }
+ }
+ }
+ toJSON(stack) {
+ return {
+ ...this,
+ name: this.name,
+ message: this.message,
+ ok: false,
+ stack: stack !== false ? this.stack : undefined
+ };
+ }
+}
+class AssertionResult {
+ get name() {
+ return "AssertionResult";
+ }
+ get ok() {
+ return true;
+ }
+ constructor(props){
+ for(const key in props){
+ if (!(key in this)) {
+ this[key] = props[key];
+ }
+ }
+ }
+ toJSON() {
+ return {
+ ...this,
+ name: this.name,
+ ok: this.ok
+ };
+ }
+}
+export { AssertionError as AssertionError };
+export { AssertionResult as AssertionResult };
+
diff --git a/tools/ui/node_modules/assertion-error/package.json b/tools/ui/node_modules/assertion-error/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..02dc0f5b6bb4d0a6c5d6e6419c138d45dbe33dfb
--- /dev/null
+++ b/tools/ui/node_modules/assertion-error/package.json
@@ -0,0 +1,32 @@
+{
+ "name": "assertion-error",
+ "version": "2.0.1",
+ "description": "Error constructor for test and validation frameworks that implements standardized AssertionError specification.",
+ "author": "Jake Luer (http://qualiancy.com)",
+ "license": "MIT",
+ "types": "./index.d.ts",
+ "keywords": [
+ "test",
+ "assertion",
+ "assertion-error"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git@github.com:chaijs/assertion-error.git"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "files": [
+ "index.d.ts"
+ ],
+ "type": "module",
+ "module": "index.js",
+ "main": "index.js",
+ "scripts": {
+ "build": "deno bundle mod.ts > index.js",
+ "pretest": "rm -rf coverage/",
+ "test": "deno test --coverage=coverage",
+ "posttest": "deno coverage coverage --lcov > coverage/lcov.info && lcov --summary coverage/lcov.info"
+ }
+}
diff --git a/tools/ui/node_modules/ast-types/LICENSE b/tools/ui/node_modules/ast-types/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..3f9d40b55b464705c6f5c620f2861a1d0b64c480
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2013 Ben Newman
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/tools/ui/node_modules/ast-types/README.md b/tools/ui/node_modules/ast-types/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..cfaf1b633abdeaa67238d8a0e2d1a2e6e4eb854e
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/README.md
@@ -0,0 +1,512 @@
+# AST Types 
+
+This module provides an efficient, modular,
+[Esprima](https://github.com/ariya/esprima)-compatible implementation of
+the [abstract syntax
+tree](http://en.wikipedia.org/wiki/Abstract_syntax_tree) type hierarchy
+pioneered by the [Mozilla Parser
+API](https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API).
+
+Installation
+---
+
+From NPM:
+
+ npm install ast-types
+
+From GitHub:
+
+ cd path/to/node_modules
+ git clone git://github.com/benjamn/ast-types.git
+ cd ast-types
+ npm install .
+
+Basic Usage
+---
+```js
+import assert from "assert";
+import {
+ namedTypes as n,
+ builders as b,
+} from "ast-types";
+
+var fooId = b.identifier("foo");
+var ifFoo = b.ifStatement(fooId, b.blockStatement([
+ b.expressionStatement(b.callExpression(fooId, []))
+]));
+
+assert.ok(n.IfStatement.check(ifFoo));
+assert.ok(n.Statement.check(ifFoo));
+assert.ok(n.Node.check(ifFoo));
+
+assert.ok(n.BlockStatement.check(ifFoo.consequent));
+assert.strictEqual(
+ ifFoo.consequent.body[0].expression.arguments.length,
+ 0,
+);
+
+assert.strictEqual(ifFoo.test, fooId);
+assert.ok(n.Expression.check(ifFoo.test));
+assert.ok(n.Identifier.check(ifFoo.test));
+assert.ok(!n.Statement.check(ifFoo.test));
+```
+
+AST Traversal
+---
+
+Because it understands the AST type system so thoroughly, this library
+is able to provide excellent node iteration and traversal mechanisms.
+
+If you want complete control over the traversal, and all you need is a way
+of enumerating the known fields of your AST nodes and getting their
+values, you may be interested in the primitives `getFieldNames` and
+`getFieldValue`:
+```js
+import {
+ getFieldNames,
+ getFieldValue,
+} from "ast-types";
+
+const partialFunExpr = { type: "FunctionExpression" };
+
+// Even though partialFunExpr doesn't actually contain all the fields that
+// are expected for a FunctionExpression, types.getFieldNames knows:
+console.log(getFieldNames(partialFunExpr));
+// [ 'type', 'id', 'params', 'body', 'generator', 'expression',
+// 'defaults', 'rest', 'async' ]
+
+// For fields that have default values, types.getFieldValue will return
+// the default if the field is not actually defined.
+console.log(getFieldValue(partialFunExpr, "generator"));
+// false
+```
+
+Two more low-level helper functions, `eachField` and `someField`, are
+defined in terms of `getFieldNames` and `getFieldValue`:
+```js
+// Iterate over all defined fields of an object, including those missing
+// or undefined, passing each field name and effective value (as returned
+// by getFieldValue) to the callback. If the object has no corresponding
+// Def, the callback will never be called.
+export function eachField(object, callback, context) {
+ getFieldNames(object).forEach(function(name) {
+ callback.call(this, name, getFieldValue(object, name));
+ }, context);
+}
+
+// Similar to eachField, except that iteration stops as soon as the
+// callback returns a truthy value. Like Array.prototype.some, the final
+// result is either true or false to indicates whether the callback
+// returned true for any element or not.
+export function someField(object, callback, context) {
+ return getFieldNames(object).some(function(name) {
+ return callback.call(this, name, getFieldValue(object, name));
+ }, context);
+}
+```
+
+So here's how you might make a copy of an AST node:
+```js
+import { eachField } from "ast-types";
+const copy = {};
+eachField(node, function(name, value) {
+ // Note that undefined fields will be visited too, according to
+ // the rules associated with node.type, and default field values
+ // will be substituted if appropriate.
+ copy[name] = value;
+})
+```
+
+But that's not all! You can also easily visit entire syntax trees using
+the powerful `types.visit` abstraction.
+
+Here's a trivial example of how you might assert that `arguments.callee`
+is never used in `ast`:
+```js
+import assert from "assert";
+import {
+ visit,
+ namedTypes as n,
+} from "ast-types";
+
+visit(ast, {
+ // This method will be called for any node with .type "MemberExpression":
+ visitMemberExpression(path) {
+ // Visitor methods receive a single argument, a NodePath object
+ // wrapping the node of interest.
+ var node = path.node;
+
+ if (
+ n.Identifier.check(node.object) &&
+ node.object.name === "arguments" &&
+ n.Identifier.check(node.property)
+ ) {
+ assert.notStrictEqual(node.property.name, "callee");
+ }
+
+ // It's your responsibility to call this.traverse with some
+ // NodePath object (usually the one passed into the visitor
+ // method) before the visitor method returns, or return false to
+ // indicate that the traversal need not continue any further down
+ // this subtree.
+ this.traverse(path);
+ }
+});
+```
+
+Here's a slightly more involved example of transforming `...rest`
+parameters into browser-runnable ES5 JavaScript:
+
+```js
+import { builders as b, visit } from "ast-types";
+
+// Reuse the same AST structure for Array.prototype.slice.call.
+var sliceExpr = b.memberExpression(
+ b.memberExpression(
+ b.memberExpression(
+ b.identifier("Array"),
+ b.identifier("prototype"),
+ false
+ ),
+ b.identifier("slice"),
+ false
+ ),
+ b.identifier("call"),
+ false
+);
+
+visit(ast, {
+ // This method will be called for any node whose type is a subtype of
+ // Function (e.g., FunctionDeclaration, FunctionExpression, and
+ // ArrowFunctionExpression). Note that types.visit precomputes a
+ // lookup table from every known type to the appropriate visitor
+ // method to call for nodes of that type, so the dispatch takes
+ // constant time.
+ visitFunction(path) {
+ // Visitor methods receive a single argument, a NodePath object
+ // wrapping the node of interest.
+ const node = path.node;
+
+ // It's your responsibility to call this.traverse with some
+ // NodePath object (usually the one passed into the visitor
+ // method) before the visitor method returns, or return false to
+ // indicate that the traversal need not continue any further down
+ // this subtree. An assertion will fail if you forget, which is
+ // awesome, because it means you will never again make the
+ // disastrous mistake of forgetting to traverse a subtree. Also
+ // cool: because you can call this method at any point in the
+ // visitor method, it's up to you whether your traversal is
+ // pre-order, post-order, or both!
+ this.traverse(path);
+
+ // This traversal is only concerned with Function nodes that have
+ // rest parameters.
+ if (!node.rest) {
+ return;
+ }
+
+ // For the purposes of this example, we won't worry about functions
+ // with Expression bodies.
+ n.BlockStatement.assert(node.body);
+
+ // Use types.builders to build a variable declaration of the form
+ //
+ // var rest = Array.prototype.slice.call(arguments, n);
+ //
+ // where `rest` is the name of the rest parameter, and `n` is a
+ // numeric literal specifying the number of named parameters the
+ // function takes.
+ const restVarDecl = b.variableDeclaration("var", [
+ b.variableDeclarator(
+ node.rest,
+ b.callExpression(sliceExpr, [
+ b.identifier("arguments"),
+ b.literal(node.params.length)
+ ])
+ )
+ ]);
+
+ // Similar to doing node.body.body.unshift(restVarDecl), except
+ // that the other NodePath objects wrapping body statements will
+ // have their indexes updated to accommodate the new statement.
+ path.get("body", "body").unshift(restVarDecl);
+
+ // Nullify node.rest now that we have simulated the behavior of
+ // the rest parameter using ordinary JavaScript.
+ path.get("rest").replace(null);
+
+ // There's nothing wrong with doing node.rest = null, but I wanted
+ // to point out that the above statement has the same effect.
+ assert.strictEqual(node.rest, null);
+ }
+});
+```
+
+Here's how you might use `types.visit` to implement a function that
+determines if a given function node refers to `this`:
+
+```js
+function usesThis(funcNode) {
+ n.Function.assert(funcNode);
+ var result = false;
+
+ visit(funcNode, {
+ visitThisExpression(path) {
+ result = true;
+
+ // The quickest way to terminate the traversal is to call
+ // this.abort(), which throws a special exception (instanceof
+ // this.AbortRequest) that will be caught in the top-level
+ // types.visit method, so you don't have to worry about
+ // catching the exception yourself.
+ this.abort();
+ },
+
+ visitFunction(path) {
+ // ThisExpression nodes in nested scopes don't count as `this`
+ // references for the original function node, so we can safely
+ // avoid traversing this subtree.
+ return false;
+ },
+
+ visitCallExpression(path) {
+ const node = path.node;
+
+ // If the function contains CallExpression nodes involving
+ // super, those expressions will implicitly depend on the
+ // value of `this`, even though they do not explicitly contain
+ // any ThisExpression nodes.
+ if (this.isSuperCallExpression(node)) {
+ result = true;
+ this.abort(); // Throws AbortRequest exception.
+ }
+
+ this.traverse(path);
+ },
+
+ // Yes, you can define arbitrary helper methods.
+ isSuperCallExpression(callExpr) {
+ n.CallExpression.assert(callExpr);
+ return this.isSuperIdentifier(callExpr.callee)
+ || this.isSuperMemberExpression(callExpr.callee);
+ },
+
+ // And even helper helper methods!
+ isSuperIdentifier(node) {
+ return n.Identifier.check(node.callee)
+ && node.callee.name === "super";
+ },
+
+ isSuperMemberExpression(node) {
+ return n.MemberExpression.check(node.callee)
+ && n.Identifier.check(node.callee.object)
+ && node.callee.object.name === "super";
+ }
+ });
+
+ return result;
+}
+```
+
+As you might guess, when an `AbortRequest` is thrown from a subtree, the
+exception will propagate from the corresponding calls to `this.traverse`
+in the ancestor visitor methods. If you decide you want to cancel the
+request, simply catch the exception and call its `.cancel()` method. The
+rest of the subtree beneath the `try`-`catch` block will be abandoned, but
+the remaining siblings of the ancestor node will still be visited.
+
+NodePath
+---
+
+The `NodePath` object passed to visitor methods is a wrapper around an AST
+node, and it serves to provide access to the chain of ancestor objects
+(all the way back to the root of the AST) and scope information.
+
+In general, `path.node` refers to the wrapped node, `path.parent.node`
+refers to the nearest `Node` ancestor, `path.parent.parent.node` to the
+grandparent, and so on.
+
+Note that `path.node` may not be a direct property value of
+`path.parent.node`; for instance, it might be the case that `path.node` is
+an element of an array that is a direct child of the parent node:
+```js
+path.node === path.parent.node.elements[3]
+```
+in which case you should know that `path.parentPath` provides
+finer-grained access to the complete path of objects (not just the `Node`
+ones) from the root of the AST:
+```js
+// In reality, path.parent is the grandparent of path:
+path.parentPath.parentPath === path.parent
+
+// The path.parentPath object wraps the elements array (note that we use
+// .value because the elements array is not a Node):
+path.parentPath.value === path.parent.node.elements
+
+// The path.node object is the fourth element in that array:
+path.parentPath.value[3] === path.node
+
+// Unlike path.node and path.value, which are synonyms because path.node
+// is a Node object, path.parentPath.node is distinct from
+// path.parentPath.value, because the elements array is not a
+// Node. Instead, path.parentPath.node refers to the closest ancestor
+// Node, which happens to be the same as path.parent.node:
+path.parentPath.node === path.parent.node
+
+// The path is named for its index in the elements array:
+path.name === 3
+
+// Likewise, path.parentPath is named for the property by which
+// path.parent.node refers to it:
+path.parentPath.name === "elements"
+
+// Putting it all together, we can follow the chain of object references
+// from path.parent.node all the way to path.node by accessing each
+// property by name:
+path.parent.node[path.parentPath.name][path.name] === path.node
+```
+
+These `NodePath` objects are created during the traversal without
+modifying the AST nodes themselves, so it's not a problem if the same node
+appears more than once in the AST (like `Array.prototype.slice.call` in
+the example above), because it will be visited with a distict `NodePath`
+each time it appears.
+
+Child `NodePath` objects are created lazily, by calling the `.get` method
+of a parent `NodePath` object:
+```js
+// If a NodePath object for the elements array has never been created
+// before, it will be created here and cached in the future:
+path.get("elements").get(3).value === path.value.elements[3]
+
+// Alternatively, you can pass multiple property names to .get instead of
+// chaining multiple .get calls:
+path.get("elements", 0).value === path.value.elements[0]
+```
+
+`NodePath` objects support a number of useful methods:
+```js
+// Replace one node with another node:
+var fifth = path.get("elements", 4);
+fifth.replace(newNode);
+
+// Now do some stuff that might rearrange the list, and this replacement
+// remains safe:
+fifth.replace(newerNode);
+
+// Replace the third element in an array with two new nodes:
+path.get("elements", 2).replace(
+ b.identifier("foo"),
+ b.thisExpression()
+);
+
+// Remove a node and its parent if it would leave a redundant AST node:
+//e.g. var t = 1, y =2; removing the `t` and `y` declarators results in `var undefined`.
+path.prune(); //returns the closest parent `NodePath`.
+
+// Remove a node from a list of nodes:
+path.get("elements", 3).replace();
+
+// Add three new nodes to the beginning of a list of nodes:
+path.get("elements").unshift(a, b, c);
+
+// Remove and return the first node in a list of nodes:
+path.get("elements").shift();
+
+// Push two new nodes onto the end of a list of nodes:
+path.get("elements").push(d, e);
+
+// Remove and return the last node in a list of nodes:
+path.get("elements").pop();
+
+// Insert a new node before/after the seventh node in a list of nodes:
+var seventh = path.get("elements", 6);
+seventh.insertBefore(newNode);
+seventh.insertAfter(newNode);
+
+// Insert a new element at index 5 in a list of nodes:
+path.get("elements").insertAt(5, newNode);
+```
+
+Scope
+---
+
+The object exposed as `path.scope` during AST traversals provides
+information about variable and function declarations in the scope that
+contains `path.node`. See [scope.ts](lib/scope.ts) for its public
+interface, which currently includes `.isGlobal`, `.getGlobalScope()`,
+`.depth`, `.declares(name)`, `.lookup(name)`, and `.getBindings()`.
+
+Custom AST Node Types
+---
+
+The `ast-types` module was designed to be extended. To that end, it
+provides a readable, declarative syntax for specifying new AST node types,
+based primarily upon the `require("ast-types").Type.def` function:
+```js
+import {
+ Type,
+ builtInTypes,
+ builders as b,
+ finalize,
+} from "ast-types";
+
+const { def } = Type;
+const { string } = builtInTypes;
+
+// Suppose you need a named File type to wrap your Programs.
+def("File")
+ .bases("Node")
+ .build("name", "program")
+ .field("name", string)
+ .field("program", def("Program"));
+
+// Prevent further modifications to the File type (and any other
+// types newly introduced by def(...)).
+finalize();
+
+// The b.file builder function is now available. It expects two
+// arguments, as named by .build("name", "program") above.
+const main = b.file("main.js", b.program([
+ // Pointless program contents included for extra color.
+ b.functionDeclaration(b.identifier("succ"), [
+ b.identifier("x")
+ ], b.blockStatement([
+ b.returnStatement(
+ b.binaryExpression(
+ "+", b.identifier("x"), b.literal(1)
+ )
+ )
+ ]))
+]));
+
+assert.strictEqual(main.name, "main.js");
+assert.strictEqual(main.program.body[0].params[0].name, "x");
+// etc.
+
+// If you pass the wrong type of arguments, or fail to pass enough
+// arguments, an AssertionError will be thrown.
+
+b.file(b.blockStatement([]));
+// ==> AssertionError: {"body":[],"type":"BlockStatement","loc":null} does not match type string
+
+b.file("lib/types.js", b.thisExpression());
+// ==> AssertionError: {"type":"ThisExpression","loc":null} does not match type Program
+```
+
+The `def` syntax is used to define all the default AST node types found in
+[babel-core.ts](def/babel-core.ts),
+[babel.ts](def/babel.ts),
+[core.ts](def/core.ts),
+[es-proposals.ts](def/es-proposals.ts),
+[es6.ts](def/es6.ts),
+[es7.ts](def/es7.ts),
+[es2020.ts](def/es2020.ts),
+[esprima.ts](def/esprima.ts),
+[flow.ts](def/flow.ts),
+[jsx.ts](def/jsx.ts),
+[type-annotations.ts](def/type-annotations.ts),
+and
+[typescript.ts](def/typescript.ts),
+so you have
+no shortage of examples to learn from.
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel-core.d.ts b/tools/ui/node_modules/ast-types/lib/def/babel-core.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel-core.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel-core.js b/tools/ui/node_modules/ast-types/lib/def/babel-core.js
new file mode 100644
index 0000000000000000000000000000000000000000..71a07b36c6387e7a06e1ab016e11f85f8acb45b6
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel-core.js
@@ -0,0 +1,241 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es_proposals_1 = tslib_1.__importDefault(require("./es-proposals"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ var _a, _b, _c, _d, _e;
+ fork.use(es_proposals_1.default);
+ var types = fork.use(types_1.default);
+ var defaults = fork.use(shared_1.default).defaults;
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var isUndefined = types.builtInTypes.undefined;
+ def("Noop")
+ .bases("Statement")
+ .build();
+ def("DoExpression")
+ .bases("Expression")
+ .build("body")
+ .field("body", [def("Statement")]);
+ def("BindExpression")
+ .bases("Expression")
+ .build("object", "callee")
+ .field("object", or(def("Expression"), null))
+ .field("callee", def("Expression"));
+ def("ParenthesizedExpression")
+ .bases("Expression")
+ .build("expression")
+ .field("expression", def("Expression"));
+ def("ExportNamespaceSpecifier")
+ .bases("Specifier")
+ .build("exported")
+ .field("exported", def("Identifier"));
+ def("ExportDefaultSpecifier")
+ .bases("Specifier")
+ .build("exported")
+ .field("exported", def("Identifier"));
+ def("CommentBlock")
+ .bases("Comment")
+ .build("value", /*optional:*/ "leading", "trailing");
+ def("CommentLine")
+ .bases("Comment")
+ .build("value", /*optional:*/ "leading", "trailing");
+ def("Directive")
+ .bases("Node")
+ .build("value")
+ .field("value", def("DirectiveLiteral"));
+ def("DirectiveLiteral")
+ .bases("Node", "Expression")
+ .build("value")
+ .field("value", String, defaults["use strict"]);
+ def("InterpreterDirective")
+ .bases("Node")
+ .build("value")
+ .field("value", String);
+ def("BlockStatement")
+ .bases("Statement")
+ .build("body")
+ .field("body", [def("Statement")])
+ .field("directives", [def("Directive")], defaults.emptyArray);
+ def("Program")
+ .bases("Node")
+ .build("body")
+ .field("body", [def("Statement")])
+ .field("directives", [def("Directive")], defaults.emptyArray)
+ .field("interpreter", or(def("InterpreterDirective"), null), defaults["null"]);
+ function makeLiteralExtra(rawValueType, toRaw) {
+ if (rawValueType === void 0) { rawValueType = String; }
+ return [
+ "extra",
+ {
+ rawValue: rawValueType,
+ raw: String,
+ },
+ function getDefault() {
+ var value = types.getFieldValue(this, "value");
+ return {
+ rawValue: value,
+ raw: toRaw ? toRaw(value) : String(value),
+ };
+ },
+ ];
+ }
+ // Split Literal
+ (_a = def("StringLiteral")
+ .bases("Literal")
+ .build("value")
+ .field("value", String))
+ .field.apply(_a, makeLiteralExtra(String, function (val) { return JSON.stringify(val); }));
+ (_b = def("NumericLiteral")
+ .bases("Literal")
+ .build("value")
+ .field("value", Number)
+ .field("raw", or(String, null), defaults["null"]))
+ .field.apply(_b, makeLiteralExtra(Number));
+ (_c = def("BigIntLiteral")
+ .bases("Literal")
+ .build("value")
+ // Only String really seems appropriate here, since BigInt values
+ // often exceed the limits of JS numbers.
+ .field("value", or(String, Number)))
+ .field.apply(_c, makeLiteralExtra(String, function (val) { return val + "n"; }));
+ // https://github.com/tc39/proposal-decimal
+ // https://github.com/babel/babel/pull/11640
+ (_d = def("DecimalLiteral")
+ .bases("Literal")
+ .build("value")
+ .field("value", String))
+ .field.apply(_d, makeLiteralExtra(String, function (val) { return val + "m"; }));
+ def("NullLiteral")
+ .bases("Literal")
+ .build()
+ .field("value", null, defaults["null"]);
+ def("BooleanLiteral")
+ .bases("Literal")
+ .build("value")
+ .field("value", Boolean);
+ (_e = def("RegExpLiteral")
+ .bases("Literal")
+ .build("pattern", "flags")
+ .field("pattern", String)
+ .field("flags", String)
+ .field("value", RegExp, function () {
+ return new RegExp(this.pattern, this.flags);
+ }))
+ .field.apply(_e, makeLiteralExtra(or(RegExp, isUndefined), function (exp) { return "/".concat(exp.pattern, "/").concat(exp.flags || ""); })).field("regex", {
+ pattern: String,
+ flags: String
+ }, function () {
+ return {
+ pattern: this.pattern,
+ flags: this.flags,
+ };
+ });
+ var ObjectExpressionProperty = or(def("Property"), def("ObjectMethod"), def("ObjectProperty"), def("SpreadProperty"), def("SpreadElement"));
+ // Split Property -> ObjectProperty and ObjectMethod
+ def("ObjectExpression")
+ .bases("Expression")
+ .build("properties")
+ .field("properties", [ObjectExpressionProperty]);
+ // ObjectMethod hoist .value properties to own properties
+ def("ObjectMethod")
+ .bases("Node", "Function")
+ .build("kind", "key", "params", "body", "computed")
+ .field("kind", or("method", "get", "set"))
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")))
+ .field("params", [def("Pattern")])
+ .field("body", def("BlockStatement"))
+ .field("computed", Boolean, defaults["false"])
+ .field("generator", Boolean, defaults["false"])
+ .field("async", Boolean, defaults["false"])
+ .field("accessibility", // TypeScript
+ or(def("Literal"), null), defaults["null"])
+ .field("decorators", or([def("Decorator")], null), defaults["null"]);
+ def("ObjectProperty")
+ .bases("Node")
+ .build("key", "value")
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")))
+ .field("value", or(def("Expression"), def("Pattern")))
+ .field("accessibility", // TypeScript
+ or(def("Literal"), null), defaults["null"])
+ .field("computed", Boolean, defaults["false"]);
+ var ClassBodyElement = or(def("MethodDefinition"), def("VariableDeclarator"), def("ClassPropertyDefinition"), def("ClassProperty"), def("ClassPrivateProperty"), def("ClassMethod"), def("ClassPrivateMethod"), def("ClassAccessorProperty"), def("StaticBlock"));
+ // MethodDefinition -> ClassMethod
+ def("ClassBody")
+ .bases("Declaration")
+ .build("body")
+ .field("body", [ClassBodyElement]);
+ def("ClassMethod")
+ .bases("Declaration", "Function")
+ .build("kind", "key", "params", "body", "computed", "static")
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")));
+ def("ClassPrivateMethod")
+ .bases("Declaration", "Function")
+ .build("key", "params", "body", "kind", "computed", "static")
+ .field("key", def("PrivateName"));
+ def("ClassAccessorProperty")
+ .bases("Declaration")
+ .build("key", "value", "decorators", "computed", "static")
+ .field("key", or(def("Literal"), def("Identifier"), def("PrivateName"),
+ // Only when .computed is true (TODO enforce this)
+ def("Expression")))
+ .field("value", or(def("Expression"), null), defaults["null"]);
+ ["ClassMethod",
+ "ClassPrivateMethod",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .field("kind", or("get", "set", "method", "constructor"), function () { return "method"; })
+ .field("body", def("BlockStatement"))
+ // For backwards compatibility only. Expect accessibility instead (see below).
+ .field("access", or("public", "private", "protected", null), defaults["null"]);
+ });
+ ["ClassMethod",
+ "ClassPrivateMethod",
+ "ClassAccessorProperty",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .field("computed", Boolean, defaults["false"])
+ .field("static", Boolean, defaults["false"])
+ .field("abstract", Boolean, defaults["false"])
+ .field("accessibility", or("public", "private", "protected", null), defaults["null"])
+ .field("decorators", or([def("Decorator")], null), defaults["null"])
+ .field("definite", Boolean, defaults["false"])
+ .field("optional", Boolean, defaults["false"])
+ .field("override", Boolean, defaults["false"])
+ .field("readonly", Boolean, defaults["false"]);
+ });
+ var ObjectPatternProperty = or(def("Property"), def("PropertyPattern"), def("SpreadPropertyPattern"), def("SpreadProperty"), // Used by Esprima
+ def("ObjectProperty"), // Babel 6
+ def("RestProperty"), // Babel 6
+ def("RestElement"));
+ // Split into RestProperty and SpreadProperty
+ def("ObjectPattern")
+ .bases("Pattern")
+ .build("properties")
+ .field("properties", [ObjectPatternProperty])
+ .field("decorators", or([def("Decorator")], null), defaults["null"]);
+ def("SpreadProperty")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("Expression"));
+ def("RestProperty")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("Expression"));
+ def("ForAwaitStatement")
+ .bases("Statement")
+ .build("left", "right", "body")
+ .field("left", or(def("VariableDeclaration"), def("Expression")))
+ .field("right", def("Expression"))
+ .field("body", def("Statement"));
+ // The callee node of a dynamic import(...) expression.
+ def("Import")
+ .bases("Expression")
+ .build();
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=babel-core.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel-core.js.map b/tools/ui/node_modules/ast-types/lib/def/babel-core.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..fdfcd44ae81444e443a95a0f8f595bc9c11c859a
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel-core.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"babel-core.js","sourceRoot":"","sources":["../../src/def/babel-core.ts"],"names":[],"mappings":";;;AACA,wEAA4C;AAC5C,2DAAmC;AACnC,0DAAgE;AAGhE,mBAAyB,IAAU;;IACjC,IAAI,CAAC,GAAG,CAAC,sBAAc,CAAC,CAAC;IAEzB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IACjD,IAAM,GAAG,G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B,KAAK,CAAC,WAAW,CAAC;SAClB,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;SAC9B,KAAK,CAAC,MAAM,EAAE,EAAE,CACf,GAAG,CAAC,qBAAqB,CAAC,EAC1B,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;SACpB,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;SACjC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAEnC,uDAAuD;IACvD,GAAG,CAAC,QAAQ,CAAC;SACV,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,EAAE,CAAC;AACb,CAAC;AA5TD,4BA4TC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel.d.ts b/tools/ui/node_modules/ast-types/lib/def/babel.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel.js b/tools/ui/node_modules/ast-types/lib/def/babel.js
new file mode 100644
index 0000000000000000000000000000000000000000..6c8df5d8ef7f22d86dcd2807beed4ecbfe2107cc
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel.js
@@ -0,0 +1,26 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var types_1 = tslib_1.__importDefault(require("../types"));
+var babel_core_1 = tslib_1.__importDefault(require("./babel-core"));
+var flow_1 = tslib_1.__importDefault(require("./flow"));
+var shared_1 = require("../shared");
+function default_1(fork) {
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ fork.use(babel_core_1.default);
+ fork.use(flow_1.default);
+ // https://github.com/babel/babel/pull/10148
+ def("V8IntrinsicIdentifier")
+ .bases("Expression")
+ .build("name")
+ .field("name", String);
+ // https://github.com/babel/babel/pull/13191
+ // https://github.com/babel/website/pull/2541
+ def("TopicReference")
+ .bases("Expression")
+ .build();
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=babel.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/babel.js.map b/tools/ui/node_modules/ast-types/lib/def/babel.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..56fc1bf08cf3ee3ad3f6066ecf0fe7871738e02f
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/babel.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../src/def/babel.ts"],"names":[],"mappings":";;;AACA,2DAAmC;AACnC,oEAAwC;AACxC,wDAA6B;AAC7B,oCAAkD;AAElD,mBAAyB,IAAU;IACjC,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAE3B,IAAI,CAAC,GAAG,CAAC,oBAAY,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,CAAC,cAAO,CAAC,CAAC;IAElB,4CAA4C;IAC5C,GAAG,CAAC,uBAAuB,CAAC;SACzB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEzB,4CAA4C;IAC5C,6CAA6C;IAC7C,GAAG,CAAC,gBAAgB,CAAC;SAClB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,EAAE,CAAC;AACb,CAAC;AAlBD,4BAkBC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/core.d.ts b/tools/ui/node_modules/ast-types/lib/def/core.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/core.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/core.js b/tools/ui/node_modules/ast-types/lib/def/core.js
new file mode 100644
index 0000000000000000000000000000000000000000..ad5206b69f073143051775d93d52ee29c4012cc3
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/core.js
@@ -0,0 +1,281 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var core_1 = tslib_1.__importDefault(require("./operators/core"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ var types = fork.use(types_1.default);
+ var Type = types.Type;
+ var def = Type.def;
+ var or = Type.or;
+ var shared = fork.use(shared_1.default);
+ var defaults = shared.defaults;
+ var geq = shared.geq;
+ var _a = fork.use(core_1.default), BinaryOperators = _a.BinaryOperators, AssignmentOperators = _a.AssignmentOperators, LogicalOperators = _a.LogicalOperators;
+ // Abstract supertype of all syntactic entities that are allowed to have a
+ // .loc field.
+ def("Printable")
+ .field("loc", or(def("SourceLocation"), null), defaults["null"], true);
+ def("Node")
+ .bases("Printable")
+ .field("type", String)
+ .field("comments", or([def("Comment")], null), defaults["null"], true);
+ def("SourceLocation")
+ .field("start", def("Position"))
+ .field("end", def("Position"))
+ .field("source", or(String, null), defaults["null"]);
+ def("Position")
+ .field("line", geq(1))
+ .field("column", geq(0));
+ def("File")
+ .bases("Node")
+ .build("program", "name")
+ .field("program", def("Program"))
+ .field("name", or(String, null), defaults["null"]);
+ def("Program")
+ .bases("Node")
+ .build("body")
+ .field("body", [def("Statement")]);
+ def("Function")
+ .bases("Node")
+ .field("id", or(def("Identifier"), null), defaults["null"])
+ .field("params", [def("Pattern")])
+ .field("body", def("BlockStatement"))
+ .field("generator", Boolean, defaults["false"])
+ .field("async", Boolean, defaults["false"]);
+ def("Statement").bases("Node");
+ // The empty .build() here means that an EmptyStatement can be constructed
+ // (i.e. it's not abstract) but that it needs no arguments.
+ def("EmptyStatement").bases("Statement").build();
+ def("BlockStatement")
+ .bases("Statement")
+ .build("body")
+ .field("body", [def("Statement")]);
+ // TODO Figure out how to silently coerce Expressions to
+ // ExpressionStatements where a Statement was expected.
+ def("ExpressionStatement")
+ .bases("Statement")
+ .build("expression")
+ .field("expression", def("Expression"));
+ def("IfStatement")
+ .bases("Statement")
+ .build("test", "consequent", "alternate")
+ .field("test", def("Expression"))
+ .field("consequent", def("Statement"))
+ .field("alternate", or(def("Statement"), null), defaults["null"]);
+ def("LabeledStatement")
+ .bases("Statement")
+ .build("label", "body")
+ .field("label", def("Identifier"))
+ .field("body", def("Statement"));
+ def("BreakStatement")
+ .bases("Statement")
+ .build("label")
+ .field("label", or(def("Identifier"), null), defaults["null"]);
+ def("ContinueStatement")
+ .bases("Statement")
+ .build("label")
+ .field("label", or(def("Identifier"), null), defaults["null"]);
+ def("WithStatement")
+ .bases("Statement")
+ .build("object", "body")
+ .field("object", def("Expression"))
+ .field("body", def("Statement"));
+ def("SwitchStatement")
+ .bases("Statement")
+ .build("discriminant", "cases", "lexical")
+ .field("discriminant", def("Expression"))
+ .field("cases", [def("SwitchCase")])
+ .field("lexical", Boolean, defaults["false"]);
+ def("ReturnStatement")
+ .bases("Statement")
+ .build("argument")
+ .field("argument", or(def("Expression"), null));
+ def("ThrowStatement")
+ .bases("Statement")
+ .build("argument")
+ .field("argument", def("Expression"));
+ def("TryStatement")
+ .bases("Statement")
+ .build("block", "handler", "finalizer")
+ .field("block", def("BlockStatement"))
+ .field("handler", or(def("CatchClause"), null), function () {
+ return this.handlers && this.handlers[0] || null;
+ })
+ .field("handlers", [def("CatchClause")], function () {
+ return this.handler ? [this.handler] : [];
+ }, true) // Indicates this field is hidden from eachField iteration.
+ .field("guardedHandlers", [def("CatchClause")], defaults.emptyArray)
+ .field("finalizer", or(def("BlockStatement"), null), defaults["null"]);
+ def("CatchClause")
+ .bases("Node")
+ .build("param", "guard", "body")
+ .field("param", def("Pattern"))
+ .field("guard", or(def("Expression"), null), defaults["null"])
+ .field("body", def("BlockStatement"));
+ def("WhileStatement")
+ .bases("Statement")
+ .build("test", "body")
+ .field("test", def("Expression"))
+ .field("body", def("Statement"));
+ def("DoWhileStatement")
+ .bases("Statement")
+ .build("body", "test")
+ .field("body", def("Statement"))
+ .field("test", def("Expression"));
+ def("ForStatement")
+ .bases("Statement")
+ .build("init", "test", "update", "body")
+ .field("init", or(def("VariableDeclaration"), def("Expression"), null))
+ .field("test", or(def("Expression"), null))
+ .field("update", or(def("Expression"), null))
+ .field("body", def("Statement"));
+ def("ForInStatement")
+ .bases("Statement")
+ .build("left", "right", "body")
+ .field("left", or(def("VariableDeclaration"), def("Expression")))
+ .field("right", def("Expression"))
+ .field("body", def("Statement"));
+ def("DebuggerStatement").bases("Statement").build();
+ def("Declaration").bases("Statement");
+ def("FunctionDeclaration")
+ .bases("Function", "Declaration")
+ .build("id", "params", "body")
+ .field("id", def("Identifier"));
+ def("FunctionExpression")
+ .bases("Function", "Expression")
+ .build("id", "params", "body");
+ def("VariableDeclaration")
+ .bases("Declaration")
+ .build("kind", "declarations")
+ .field("kind", or("var", "let", "const"))
+ .field("declarations", [def("VariableDeclarator")]);
+ def("VariableDeclarator")
+ .bases("Node")
+ .build("id", "init")
+ .field("id", def("Pattern"))
+ .field("init", or(def("Expression"), null), defaults["null"]);
+ def("Expression").bases("Node");
+ def("ThisExpression").bases("Expression").build();
+ def("ArrayExpression")
+ .bases("Expression")
+ .build("elements")
+ .field("elements", [or(def("Expression"), null)]);
+ def("ObjectExpression")
+ .bases("Expression")
+ .build("properties")
+ .field("properties", [def("Property")]);
+ // TODO Not in the Mozilla Parser API, but used by Esprima.
+ def("Property")
+ .bases("Node") // Want to be able to visit Property Nodes.
+ .build("kind", "key", "value")
+ .field("kind", or("init", "get", "set"))
+ .field("key", or(def("Literal"), def("Identifier")))
+ .field("value", def("Expression"));
+ def("SequenceExpression")
+ .bases("Expression")
+ .build("expressions")
+ .field("expressions", [def("Expression")]);
+ var UnaryOperator = or("-", "+", "!", "~", "typeof", "void", "delete");
+ def("UnaryExpression")
+ .bases("Expression")
+ .build("operator", "argument", "prefix")
+ .field("operator", UnaryOperator)
+ .field("argument", def("Expression"))
+ // Esprima doesn't bother with this field, presumably because it's
+ // always true for unary operators.
+ .field("prefix", Boolean, defaults["true"]);
+ var BinaryOperator = or.apply(void 0, BinaryOperators);
+ def("BinaryExpression")
+ .bases("Expression")
+ .build("operator", "left", "right")
+ .field("operator", BinaryOperator)
+ .field("left", def("Expression"))
+ .field("right", def("Expression"));
+ var AssignmentOperator = or.apply(void 0, AssignmentOperators);
+ def("AssignmentExpression")
+ .bases("Expression")
+ .build("operator", "left", "right")
+ .field("operator", AssignmentOperator)
+ .field("left", or(def("Pattern"), def("MemberExpression")))
+ .field("right", def("Expression"));
+ var UpdateOperator = or("++", "--");
+ def("UpdateExpression")
+ .bases("Expression")
+ .build("operator", "argument", "prefix")
+ .field("operator", UpdateOperator)
+ .field("argument", def("Expression"))
+ .field("prefix", Boolean);
+ var LogicalOperator = or.apply(void 0, LogicalOperators);
+ def("LogicalExpression")
+ .bases("Expression")
+ .build("operator", "left", "right")
+ .field("operator", LogicalOperator)
+ .field("left", def("Expression"))
+ .field("right", def("Expression"));
+ def("ConditionalExpression")
+ .bases("Expression")
+ .build("test", "consequent", "alternate")
+ .field("test", def("Expression"))
+ .field("consequent", def("Expression"))
+ .field("alternate", def("Expression"));
+ def("NewExpression")
+ .bases("Expression")
+ .build("callee", "arguments")
+ .field("callee", def("Expression"))
+ // The Mozilla Parser API gives this type as [or(def("Expression"),
+ // null)], but null values don't really make sense at the call site.
+ // TODO Report this nonsense.
+ .field("arguments", [def("Expression")]);
+ def("CallExpression")
+ .bases("Expression")
+ .build("callee", "arguments")
+ .field("callee", def("Expression"))
+ // See comment for NewExpression above.
+ .field("arguments", [def("Expression")]);
+ def("MemberExpression")
+ .bases("Expression")
+ .build("object", "property", "computed")
+ .field("object", def("Expression"))
+ .field("property", or(def("Identifier"), def("Expression")))
+ .field("computed", Boolean, function () {
+ var type = this.property.type;
+ if (type === 'Literal' ||
+ type === 'MemberExpression' ||
+ type === 'BinaryExpression') {
+ return true;
+ }
+ return false;
+ });
+ def("Pattern").bases("Node");
+ def("SwitchCase")
+ .bases("Node")
+ .build("test", "consequent")
+ .field("test", or(def("Expression"), null))
+ .field("consequent", [def("Statement")]);
+ def("Identifier")
+ .bases("Expression", "Pattern")
+ .build("name")
+ .field("name", String)
+ .field("optional", Boolean, defaults["false"]);
+ def("Literal")
+ .bases("Expression")
+ .build("value")
+ .field("value", or(String, Boolean, null, Number, RegExp, BigInt));
+ // Abstract (non-buildable) comment supertype. Not a Node.
+ def("Comment")
+ .bases("Printable")
+ .field("value", String)
+ // A .leading comment comes before the node, whereas a .trailing
+ // comment comes after it. These two fields should not both be true,
+ // but they might both be false when the comment falls inside a node
+ // and the node has no children for the comment to lead or trail,
+ // e.g. { /*dangling*/ }.
+ .field("leading", Boolean, defaults["true"])
+ .field("trailing", Boolean, defaults["false"]);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=core.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/core.js.map b/tools/ui/node_modules/ast-types/lib/def/core.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..beb21e7f360bafdb51e5d9104fcf689be63949d4
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/core.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/def/core.ts"],"names":[],"mappings":";;;AACA,kEAA0C;AAC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E,MAAM,CAAC,CAAC,CAAC;IAErE,0DAA0D;IAC1D,GAAG,CAAC,SAAS,CAAC;SACX,KAAK,CAAC,WAAW,CAAC;SAClB,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC;QACvB,gEAAgE;QAChE,oEAAoE;QACpE,oEAAoE;QACpE,iEAAiE;QACjE,yBAAyB;SACxB,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;SAC3C,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACnD,CAAC;AAxVD,4BAwVC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es-proposals.d.ts b/tools/ui/node_modules/ast-types/lib/def/es-proposals.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es-proposals.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es-proposals.js b/tools/ui/node_modules/ast-types/lib/def/es-proposals.js
new file mode 100644
index 0000000000000000000000000000000000000000..263aec6a15d088566f7fa1d82c31b377c889f2e7
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es-proposals.js
@@ -0,0 +1,70 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+var es2022_1 = tslib_1.__importDefault(require("./es2022"));
+function default_1(fork) {
+ fork.use(es2022_1.default);
+ var types = fork.use(types_1.default);
+ var Type = types.Type;
+ var def = types.Type.def;
+ var or = Type.or;
+ var shared = fork.use(shared_1.default);
+ var defaults = shared.defaults;
+ def("AwaitExpression")
+ .build("argument", "all")
+ .field("argument", or(def("Expression"), null))
+ .field("all", Boolean, defaults["false"]);
+ // Decorators
+ def("Decorator")
+ .bases("Node")
+ .build("expression")
+ .field("expression", def("Expression"));
+ def("Property")
+ .field("decorators", or([def("Decorator")], null), defaults["null"]);
+ def("MethodDefinition")
+ .field("decorators", or([def("Decorator")], null), defaults["null"]);
+ // Private names
+ def("PrivateName")
+ .bases("Expression", "Pattern")
+ .build("id")
+ .field("id", def("Identifier"));
+ def("ClassPrivateProperty")
+ .bases("ClassProperty")
+ .build("key", "value")
+ .field("key", def("PrivateName"))
+ .field("value", or(def("Expression"), null), defaults["null"]);
+ // https://github.com/tc39/proposal-import-assertions
+ def("ImportAttribute")
+ .bases("Node")
+ .build("key", "value")
+ .field("key", or(def("Identifier"), def("Literal")))
+ .field("value", def("Expression"));
+ ["ImportDeclaration",
+ "ExportAllDeclaration",
+ "ExportNamedDeclaration",
+ ].forEach(function (decl) {
+ def(decl).field("assertions", [def("ImportAttribute")], defaults.emptyArray);
+ });
+ // https://github.com/tc39/proposal-record-tuple
+ // https://github.com/babel/babel/pull/10865
+ def("RecordExpression")
+ .bases("Expression")
+ .build("properties")
+ .field("properties", [or(def("ObjectProperty"), def("ObjectMethod"), def("SpreadElement"))]);
+ def("TupleExpression")
+ .bases("Expression")
+ .build("elements")
+ .field("elements", [or(def("Expression"), def("SpreadElement"), null)]);
+ // https://github.com/tc39/proposal-js-module-blocks
+ // https://github.com/babel/babel/pull/12469
+ def("ModuleExpression")
+ .bases("Node")
+ .build("body")
+ .field("body", def("Program"));
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es-proposals.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es-proposals.js.map b/tools/ui/node_modules/ast-types/lib/def/es-proposals.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..895e92d4d678066f481bd51ed814dc3e110374b2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es-proposals.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es-proposals.js","sourceRoot":"","sources":["../../src/def/es-proposals.ts"],"names":[],"mappings":";;;AACA,2DAAmC;AACnC,0DAAgE;AAChE,4DAAiC;AAEjC,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IACxB,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;IAEnB,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IACtC,IAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAEjC,GAAG,CAAC,iBAAiB,CAAC;SACnB,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC;SACxB,KAAK,CAAC,UAAU,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,CAAC;SAC9C,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE5C,aAAa;IACb,GAAG,CAAC,WAAW,CAAC;SACb,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IAE1C,GAAG,CAAC,UAAU,CAAC;SACZ,KAAK,CAAC,YAAY,EACZ,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,EAC5B,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAE3B,GAAG,CAAC,kBAAkB,CAAC;S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,YAAY,CAAC;SACnB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,YAAY,EAAE,CAAC,EAAE,CACtB,GAAG,CAAC,gBAAgB,CAAC,EACrB,GAAG,CAAC,cAAc,CAAC,EACnB,GAAG,CAAC,eAAe,CAAC,CACrB,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,iBAAiB,CAAC;SACnB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,CACpB,GAAG,CAAC,YAAY,CAAC,EACjB,GAAG,CAAC,eAAe,CAAC,EACpB,IAAI,CACL,CAAC,CAAC,CAAC;IAEN,oDAAoD;IACpD,4CAA4C;IAC5C,GAAG,CAAC,kBAAkB,CAAC;SACpB,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;AACnC,CAAC;AAvFD,4BAuFC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2016.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2016.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2016.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2016.js b/tools/ui/node_modules/ast-types/lib/def/es2016.js
new file mode 100644
index 0000000000000000000000000000000000000000..871af999fcffae4b06172b9247246f84f7e11360
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2016.js
@@ -0,0 +1,17 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2016_1 = tslib_1.__importDefault(require("./operators/es2016"));
+var es6_1 = tslib_1.__importDefault(require("./es6"));
+var shared_1 = require("../shared");
+function default_1(fork) {
+ // The es2016OpsDef plugin comes before es6Def so BinaryOperators and
+ // AssignmentOperators will be appropriately augmented before they are first
+ // used in the core definitions for this fork.
+ fork.use(es2016_1.default);
+ fork.use(es6_1.default);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2016.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2016.js.map b/tools/ui/node_modules/ast-types/lib/def/es2016.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..da5ae340ea0980657d4bdd2846a923fd7573fbb2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2016.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2016.js","sourceRoot":"","sources":["../../src/def/es2016.ts"],"names":[],"mappings":";;;AACA,sEAA8C;AAC9C,sDAA2B;AAC3B,oCAAkD;AAElD,mBAAyB,IAAU;IACjC,qEAAqE;IACrE,4EAA4E;IAC5E,8CAA8C;IAC9C,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,CAAC,aAAM,CAAC,CAAC;AACnB,CAAC;AAND,4BAMC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2017.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2017.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2017.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2017.js b/tools/ui/node_modules/ast-types/lib/def/es2017.js
new file mode 100644
index 0000000000000000000000000000000000000000..35ae434a9d9cabb601939ca33633be170a42b0f2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2017.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2016_1 = tslib_1.__importDefault(require("./es2016"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es2016_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var defaults = fork.use(shared_1.default).defaults;
+ def("Function")
+ .field("async", Boolean, defaults["false"]);
+ def("AwaitExpression")
+ .bases("Expression")
+ .build("argument")
+ .field("argument", def("Expression"));
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2017.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2017.js.map b/tools/ui/node_modules/ast-types/lib/def/es2017.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..32252c20b5b0c4d66d986520863e3e862abf92d4
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2017.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2017.js","sourceRoot":"","sources":["../../src/def/es2017.ts"],"names":[],"mappings":";;;AACA,4DAAiC;AACjC,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAEjD,GAAG,CAAC,UAAU,CAAC;SACZ,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE9C,GAAG,CAAC,iBAAiB,CAAC;SACnB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;AAC1C,CAAC;AAdD,4BAcC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2018.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2018.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2018.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2018.js b/tools/ui/node_modules/ast-types/lib/def/es2018.js
new file mode 100644
index 0000000000000000000000000000000000000000..9671db05afd493800cc489a6beea66ee70d4a1e9
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2018.js
@@ -0,0 +1,36 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2017_1 = tslib_1.__importDefault(require("./es2017"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es2017_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ def("ForOfStatement")
+ .field("await", Boolean, defaults["false"]);
+ // Legacy
+ def("SpreadProperty")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("Expression"));
+ def("ObjectExpression")
+ .field("properties", [or(def("Property"), def("SpreadProperty"), // Legacy
+ def("SpreadElement"))]);
+ def("TemplateElement")
+ .field("value", { "cooked": or(String, null), "raw": String });
+ // Legacy
+ def("SpreadPropertyPattern")
+ .bases("Pattern")
+ .build("argument")
+ .field("argument", def("Pattern"));
+ def("ObjectPattern")
+ .field("properties", [or(def("PropertyPattern"), def("Property"), def("RestElement"), def("SpreadPropertyPattern"))]);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2018.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2018.js.map b/tools/ui/node_modules/ast-types/lib/def/es2018.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..1d60a6d2235968659cd26954743477757c938cf7
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2018.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2018.js","sourceRoot":"","sources":["../../src/def/es2018.ts"],"names":[],"mappings":";;;AACA,4DAAiC;AACjC,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACzB,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAEjD,GAAG,CAAC,gBAAgB,CAAC;SAClB,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE9C,SAAS;IACT,GAAG,CAAC,gBAAgB,CAAC;SAClB,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IAExC,GAAG,CAAC,kBAAkB,CAAC;SACpB,KAAK,CAAC,YAAY,EAAE,CAAC,EAAE,CACtB,GAAG,CAAC,UAAU,CAAC,EACf,GAAG,CAAC,gBAAgB,CAAC,EAAE,SAAS;QAChC,GAAG,CAAC,eAAe,CAAC,CACrB,CAAC,CAAC,CAAC;IAEN,GAAG,CAAC,iBAAiB,CAAC;SACnB,KAAK,CAAC,OAAO,EAAE,EAAC,QAAQ,EAAE,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,EAAC,CAAC,CAAC;IAE/D,SAAS;IACT,GAAG,CAAC,uBAAuB,CAAC;SACzB,KAAK,CAAC,SAAS,CAAC;SAChB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;IAErC,GAAG,CAAC,eAAe,CAAC;SACjB,KAAK,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1H,CAAC;AAnCD,4BAmCC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2019.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2019.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2019.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2019.js b/tools/ui/node_modules/ast-types/lib/def/es2019.js
new file mode 100644
index 0000000000000000000000000000000000000000..a1e04199272224ec4e79c7da05666b534c6c40f7
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2019.js
@@ -0,0 +1,19 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2018_1 = tslib_1.__importDefault(require("./es2018"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es2018_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ def("CatchClause")
+ .field("param", or(def("Pattern"), null), defaults["null"]);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2019.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2019.js.map b/tools/ui/node_modules/ast-types/lib/def/es2019.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..5438939ed7135b557058ceb834dbd7d3952e84ea
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2019.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2019.js","sourceRoot":"","sources":["../../src/def/es2019.ts"],"names":[],"mappings":";;;AACA,4DAAiC;AACjC,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACzB,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAEjD,GAAG,CAAC,aAAa,CAAC;SACf,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAChE,CAAC;AAVD,4BAUC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2020.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2020.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2020.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2020.js b/tools/ui/node_modules/ast-types/lib/def/es2020.js
new file mode 100644
index 0000000000000000000000000000000000000000..64da058de381db6b9542d9279fea85e638ec284e
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2020.js
@@ -0,0 +1,52 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2020_1 = tslib_1.__importDefault(require("./operators/es2020"));
+var es2019_1 = tslib_1.__importDefault(require("./es2019"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ // The es2020OpsDef plugin comes before es2019Def so LogicalOperators will be
+ // appropriately augmented before first used.
+ fork.use(es2020_1.default);
+ fork.use(es2019_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var shared = fork.use(shared_1.default);
+ var defaults = shared.defaults;
+ def("ImportExpression")
+ .bases("Expression")
+ .build("source")
+ .field("source", def("Expression"));
+ def("ExportAllDeclaration")
+ .bases("Declaration")
+ .build("source", "exported")
+ .field("source", def("Literal"))
+ .field("exported", or(def("Identifier"), null, void 0), defaults["null"]);
+ // Optional chaining
+ def("ChainElement")
+ .bases("Node")
+ .field("optional", Boolean, defaults["false"]);
+ def("CallExpression")
+ .bases("Expression", "ChainElement");
+ def("MemberExpression")
+ .bases("Expression", "ChainElement");
+ def("ChainExpression")
+ .bases("Expression")
+ .build("expression")
+ .field("expression", def("ChainElement"));
+ def("OptionalCallExpression")
+ .bases("CallExpression")
+ .build("callee", "arguments", "optional")
+ .field("optional", Boolean, defaults["true"]);
+ // Deprecated optional chaining type, doesn't work with babelParser@7.11.0 or newer
+ def("OptionalMemberExpression")
+ .bases("MemberExpression")
+ .build("object", "property", "computed", "optional")
+ .field("optional", Boolean, defaults["true"]);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2020.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2020.js.map b/tools/ui/node_modules/ast-types/lib/def/es2020.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..6a1efdcdf8f1ff449fa87a860d0076ac0c948fe8
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2020.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2020.js","sourceRoot":"","sources":["../../src/def/es2020.ts"],"names":[],"mappings":";;;AACA,sEAA8C;AAC9C,4DAAiC;AACjC,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,6EAA6E;IAC7E,6CAA6C;IAC7C,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IAEvB,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IAEzB,IAAM,MAAM,GAAG,IAAI,CA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AC,CAAC;IAEhD,mFAAmF;IACnF,GAAG,CAAC,0BAA0B,CAAC;SAC5B,KAAK,CAAC,kBAAkB,CAAC;SACzB,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC;SACnD,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAClD,CAAC;AAvDD,4BAuDC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2021.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2021.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2021.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2021.js b/tools/ui/node_modules/ast-types/lib/def/es2021.js
new file mode 100644
index 0000000000000000000000000000000000000000..fda8b09781f0e9b46ddf38b45613de2f2fe55bfb
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2021.js
@@ -0,0 +1,15 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2021_1 = tslib_1.__importDefault(require("./operators/es2021"));
+var es2020_1 = tslib_1.__importDefault(require("./es2020"));
+var shared_1 = require("../shared");
+function default_1(fork) {
+ // The es2021OpsDef plugin comes before es2020Def so AssignmentOperators will
+ // be appropriately augmented before first used.
+ fork.use(es2021_1.default);
+ fork.use(es2020_1.default);
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2021.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2021.js.map b/tools/ui/node_modules/ast-types/lib/def/es2021.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..2f5a24f14d9ab81ec89e25ee08e52e47bb8eedbe
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2021.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2021.js","sourceRoot":"","sources":["../../src/def/es2021.ts"],"names":[],"mappings":";;;AACA,sEAA8C;AAC9C,4DAAiC;AACjC,oCAAkD;AAElD,mBAAyB,IAAU;IACjC,6EAA6E;IAC7E,gDAAgD;IAChD,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;AACtB,CAAC;AALD,4BAKC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2022.d.ts b/tools/ui/node_modules/ast-types/lib/def/es2022.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2022.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2022.js b/tools/ui/node_modules/ast-types/lib/def/es2022.js
new file mode 100644
index 0000000000000000000000000000000000000000..5e2153ec078d6b0d69f111e727a1732836e7cbac
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2022.js
@@ -0,0 +1,18 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es2021_1 = tslib_1.__importDefault(require("./es2021"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = require("../shared");
+function default_1(fork) {
+ fork.use(es2021_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ def("StaticBlock")
+ .bases("Declaration")
+ .build("body")
+ .field("body", [def("Statement")]);
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2022.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es2022.js.map b/tools/ui/node_modules/ast-types/lib/def/es2022.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..1c8bb7dcae0953bac68eeea71cb4fec20540b789
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es2022.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2022.js","sourceRoot":"","sources":["../../src/def/es2022.ts"],"names":[],"mappings":";;;AACA,4DAAiC;AACjC,2DAAmC;AACnC,oCAAkD;AAElD,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,gBAAS,CAAC,CAAC;IAEpB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAE3B,GAAG,CAAC,aAAa,CAAC;SACf,KAAK,CAAC,aAAa,CAAC;SACpB,KAAK,CAAC,MAAM,CAAC;SACb,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AACvC,CAAC;AAVD,4BAUC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es6.d.ts b/tools/ui/node_modules/ast-types/lib/def/es6.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es6.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/es6.js b/tools/ui/node_modules/ast-types/lib/def/es6.js
new file mode 100644
index 0000000000000000000000000000000000000000..0c7590022641c874b85118a6b7e03409a214692a
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es6.js
@@ -0,0 +1,238 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var core_1 = tslib_1.__importDefault(require("./core"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(core_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ def("Function")
+ .field("generator", Boolean, defaults["false"])
+ .field("expression", Boolean, defaults["false"])
+ .field("defaults", [or(def("Expression"), null)], defaults.emptyArray)
+ // Legacy
+ .field("rest", or(def("Identifier"), null), defaults["null"]);
+ // The ESTree way of representing a ...rest parameter.
+ def("RestElement")
+ .bases("Pattern")
+ .build("argument")
+ .field("argument", def("Pattern"))
+ .field("typeAnnotation", // for Babylon. Flow parser puts it on the identifier
+ or(def("TypeAnnotation"), def("TSTypeAnnotation"), null), defaults["null"]);
+ def("SpreadElementPattern")
+ .bases("Pattern")
+ .build("argument")
+ .field("argument", def("Pattern"));
+ def("FunctionDeclaration")
+ .build("id", "params", "body", "generator", "expression")
+ // May be `null` in the context of `export default function () {}`
+ .field("id", or(def("Identifier"), null));
+ def("FunctionExpression")
+ .build("id", "params", "body", "generator", "expression");
+ def("ArrowFunctionExpression")
+ .bases("Function", "Expression")
+ .build("params", "body", "expression")
+ // The forced null value here is compatible with the overridden
+ // definition of the "id" field in the Function interface.
+ .field("id", null, defaults["null"])
+ // Arrow function bodies are allowed to be expressions.
+ .field("body", or(def("BlockStatement"), def("Expression")))
+ // The current spec forbids arrow generators, so I have taken the
+ // liberty of enforcing that. TODO Report this.
+ .field("generator", false, defaults["false"]);
+ def("ForOfStatement")
+ .bases("Statement")
+ .build("left", "right", "body")
+ .field("left", or(def("VariableDeclaration"), def("Pattern")))
+ .field("right", def("Expression"))
+ .field("body", def("Statement"));
+ def("YieldExpression")
+ .bases("Expression")
+ .build("argument", "delegate")
+ .field("argument", or(def("Expression"), null))
+ .field("delegate", Boolean, defaults["false"]);
+ def("GeneratorExpression")
+ .bases("Expression")
+ .build("body", "blocks", "filter")
+ .field("body", def("Expression"))
+ .field("blocks", [def("ComprehensionBlock")])
+ .field("filter", or(def("Expression"), null));
+ def("ComprehensionExpression")
+ .bases("Expression")
+ .build("body", "blocks", "filter")
+ .field("body", def("Expression"))
+ .field("blocks", [def("ComprehensionBlock")])
+ .field("filter", or(def("Expression"), null));
+ def("ComprehensionBlock")
+ .bases("Node")
+ .build("left", "right", "each")
+ .field("left", def("Pattern"))
+ .field("right", def("Expression"))
+ .field("each", Boolean);
+ def("Property")
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")))
+ .field("value", or(def("Expression"), def("Pattern")))
+ .field("method", Boolean, defaults["false"])
+ .field("shorthand", Boolean, defaults["false"])
+ .field("computed", Boolean, defaults["false"]);
+ def("ObjectProperty")
+ .field("shorthand", Boolean, defaults["false"]);
+ def("PropertyPattern")
+ .bases("Pattern")
+ .build("key", "pattern")
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")))
+ .field("pattern", def("Pattern"))
+ .field("computed", Boolean, defaults["false"]);
+ def("ObjectPattern")
+ .bases("Pattern")
+ .build("properties")
+ .field("properties", [or(def("PropertyPattern"), def("Property"))]);
+ def("ArrayPattern")
+ .bases("Pattern")
+ .build("elements")
+ .field("elements", [or(def("Pattern"), null)]);
+ def("SpreadElement")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("Expression"));
+ def("ArrayExpression")
+ .field("elements", [or(def("Expression"), def("SpreadElement"), def("RestElement"), null)]);
+ def("NewExpression")
+ .field("arguments", [or(def("Expression"), def("SpreadElement"))]);
+ def("CallExpression")
+ .field("arguments", [or(def("Expression"), def("SpreadElement"))]);
+ // Note: this node type is *not* an AssignmentExpression with a Pattern on
+ // the left-hand side! The existing AssignmentExpression type already
+ // supports destructuring assignments. AssignmentPattern nodes may appear
+ // wherever a Pattern is allowed, and the right-hand side represents a
+ // default value to be destructured against the left-hand side, if no
+ // value is otherwise provided. For example: default parameter values.
+ def("AssignmentPattern")
+ .bases("Pattern")
+ .build("left", "right")
+ .field("left", def("Pattern"))
+ .field("right", def("Expression"));
+ def("MethodDefinition")
+ .bases("Declaration")
+ .build("kind", "key", "value", "static")
+ .field("kind", or("constructor", "method", "get", "set"))
+ .field("key", def("Expression"))
+ .field("value", def("Function"))
+ .field("computed", Boolean, defaults["false"])
+ .field("static", Boolean, defaults["false"]);
+ var ClassBodyElement = or(def("MethodDefinition"), def("VariableDeclarator"), def("ClassPropertyDefinition"), def("ClassProperty"), def("StaticBlock"));
+ def("ClassProperty")
+ .bases("Declaration")
+ .build("key")
+ .field("key", or(def("Literal"), def("Identifier"), def("Expression")))
+ .field("computed", Boolean, defaults["false"]);
+ def("ClassPropertyDefinition") // static property
+ .bases("Declaration")
+ .build("definition")
+ // Yes, Virginia, circular definitions are permitted.
+ .field("definition", ClassBodyElement);
+ def("ClassBody")
+ .bases("Declaration")
+ .build("body")
+ .field("body", [ClassBodyElement]);
+ def("ClassDeclaration")
+ .bases("Declaration")
+ .build("id", "body", "superClass")
+ .field("id", or(def("Identifier"), null))
+ .field("body", def("ClassBody"))
+ .field("superClass", or(def("Expression"), null), defaults["null"]);
+ def("ClassExpression")
+ .bases("Expression")
+ .build("id", "body", "superClass")
+ .field("id", or(def("Identifier"), null), defaults["null"])
+ .field("body", def("ClassBody"))
+ .field("superClass", or(def("Expression"), null), defaults["null"]);
+ def("Super")
+ .bases("Expression")
+ .build();
+ // Specifier and ModuleSpecifier are abstract non-standard types
+ // introduced for definitional convenience.
+ def("Specifier").bases("Node");
+ // This supertype is shared/abused by both def/babel.js and
+ // def/esprima.js. In the future, it will be possible to load only one set
+ // of definitions appropriate for a given parser, but until then we must
+ // rely on default functions to reconcile the conflicting AST formats.
+ def("ModuleSpecifier")
+ .bases("Specifier")
+ // This local field is used by Babel/Acorn. It should not technically
+ // be optional in the Babel/Acorn AST format, but it must be optional
+ // in the Esprima AST format.
+ .field("local", or(def("Identifier"), null), defaults["null"])
+ // The id and name fields are used by Esprima. The id field should not
+ // technically be optional in the Esprima AST format, but it must be
+ // optional in the Babel/Acorn AST format.
+ .field("id", or(def("Identifier"), null), defaults["null"])
+ .field("name", or(def("Identifier"), null), defaults["null"]);
+ // import {} from ...;
+ def("ImportSpecifier")
+ .bases("ModuleSpecifier")
+ .build("imported", "local")
+ .field("imported", def("Identifier"));
+ // import from ...;
+ def("ImportDefaultSpecifier")
+ .bases("ModuleSpecifier")
+ .build("local");
+ // import <* as id> from ...;
+ def("ImportNamespaceSpecifier")
+ .bases("ModuleSpecifier")
+ .build("local");
+ def("ImportDeclaration")
+ .bases("Declaration")
+ .build("specifiers", "source", "importKind")
+ .field("specifiers", [or(def("ImportSpecifier"), def("ImportNamespaceSpecifier"), def("ImportDefaultSpecifier"))], defaults.emptyArray)
+ .field("source", def("Literal"))
+ .field("importKind", or("value", "type"), function () {
+ return "value";
+ });
+ def("ExportNamedDeclaration")
+ .bases("Declaration")
+ .build("declaration", "specifiers", "source")
+ .field("declaration", or(def("Declaration"), null))
+ .field("specifiers", [def("ExportSpecifier")], defaults.emptyArray)
+ .field("source", or(def("Literal"), null), defaults["null"]);
+ def("ExportSpecifier")
+ .bases("ModuleSpecifier")
+ .build("local", "exported")
+ .field("exported", def("Identifier"));
+ def("ExportDefaultDeclaration")
+ .bases("Declaration")
+ .build("declaration")
+ .field("declaration", or(def("Declaration"), def("Expression")));
+ def("ExportAllDeclaration")
+ .bases("Declaration")
+ .build("source")
+ .field("source", def("Literal"));
+ def("TaggedTemplateExpression")
+ .bases("Expression")
+ .build("tag", "quasi")
+ .field("tag", def("Expression"))
+ .field("quasi", def("TemplateLiteral"));
+ def("TemplateLiteral")
+ .bases("Expression")
+ .build("quasis", "expressions")
+ .field("quasis", [def("TemplateElement")])
+ .field("expressions", [def("Expression")]);
+ def("TemplateElement")
+ .bases("Node")
+ .build("value", "tail")
+ .field("value", { "cooked": String, "raw": String })
+ .field("tail", Boolean);
+ def("MetaProperty")
+ .bases("Expression")
+ .build("meta", "property")
+ .field("meta", def("Identifier"))
+ .field("property", def("Identifier"));
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es6.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/es6.js.map b/tools/ui/node_modules/ast-types/lib/def/es6.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..87a70dc31a5ebfd1f5771c624d2a697b7b322a67
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/es6.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es6.js","sourceRoot":"","sources":["../../src/def/es6.ts"],"names":[],"mappings":";;;AACA,wDAA6B;AAC7B,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,cAAO,CAAC,CAAC;IAElB,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACzB,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAEjD,GAAG,CAAC,UAAU,CAAC;SACZ,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;SAC9C,KAAK,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;SAC/C,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC;QACtE,SAAS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c,CAAC;SAChB,KAAK,CAAC,YAAY,CAAC;SACnB,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC;SACzB,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;SAChC,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;AAC1C,CAAC;AAnSD,4BAmSC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/esprima.d.ts b/tools/ui/node_modules/ast-types/lib/def/esprima.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/esprima.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/esprima.js b/tools/ui/node_modules/ast-types/lib/def/esprima.js
new file mode 100644
index 0000000000000000000000000000000000000000..0d4e967078e978daa55b5f50a499228a693d47e0
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/esprima.js
@@ -0,0 +1,51 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es_proposals_1 = tslib_1.__importDefault(require("./es-proposals"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es_proposals_1.default);
+ var types = fork.use(types_1.default);
+ var defaults = fork.use(shared_1.default).defaults;
+ var def = types.Type.def;
+ var or = types.Type.or;
+ def("VariableDeclaration")
+ .field("declarations", [or(def("VariableDeclarator"), def("Identifier") // Esprima deviation.
+ )]);
+ def("Property")
+ .field("value", or(def("Expression"), def("Pattern") // Esprima deviation.
+ ));
+ def("ArrayPattern")
+ .field("elements", [or(def("Pattern"), def("SpreadElement"), null)]);
+ def("ObjectPattern")
+ .field("properties", [or(def("Property"), def("PropertyPattern"), def("SpreadPropertyPattern"), def("SpreadProperty") // Used by Esprima.
+ )]);
+ // Like ModuleSpecifier, except type:"ExportSpecifier" and buildable.
+ // export {} [from ...];
+ def("ExportSpecifier")
+ .bases("ModuleSpecifier")
+ .build("id", "name");
+ // export <*> from ...;
+ def("ExportBatchSpecifier")
+ .bases("Specifier")
+ .build();
+ def("ExportDeclaration")
+ .bases("Declaration")
+ .build("default", "declaration", "specifiers", "source")
+ .field("default", Boolean)
+ .field("declaration", or(def("Declaration"), def("Expression"), // Implies default.
+ null))
+ .field("specifiers", [or(def("ExportSpecifier"), def("ExportBatchSpecifier"))], defaults.emptyArray)
+ .field("source", or(def("Literal"), null), defaults["null"]);
+ def("Block")
+ .bases("Comment")
+ .build("value", /*optional:*/ "leading", "trailing");
+ def("Line")
+ .bases("Comment")
+ .build("value", /*optional:*/ "leading", "trailing");
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=esprima.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/esprima.js.map b/tools/ui/node_modules/ast-types/lib/def/esprima.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..430b7f4fbe80ec15d279aca83d139d0d62bb280f
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/esprima.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"esprima.js","sourceRoot":"","sources":["../../src/def/esprima.ts"],"names":[],"mappings":";;;AACA,wEAA4C;AAC5C,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,sBAAc,CAAC,CAAC;IAEzB,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IAClC,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAC/C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ACvD,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC;SACzB,KAAK,CAAC,aAAa,EAAE,EAAE,CACtB,GAAG,CAAC,aAAa,CAAC,EAClB,GAAG,CAAC,YAAY,CAAC,EAAE,mBAAmB;IACtC,IAAI,CACL,CAAC;SACD,KAAK,CAAC,YAAY,EAAE,CAAC,EAAE,CACtB,GAAG,CAAC,iBAAiB,CAAC,EACtB,GAAG,CAAC,sBAAsB,CAAC,CAC5B,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC;SACvB,KAAK,CAAC,QAAQ,EAAE,EAAE,CACjB,GAAG,CAAC,SAAS,CAAC,EACd,IAAI,CACL,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAEvB,GAAG,CAAC,OAAO,CAAC;SACT,KAAK,CAAC,SAAS,CAAC;SAChB,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAEvD,GAAG,CAAC,MAAM,CAAC;SACR,KAAK,CAAC,SAAS,CAAC;SAChB,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AACzD,CAAC;AAvED,4BAuEC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/flow.d.ts b/tools/ui/node_modules/ast-types/lib/def/flow.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/flow.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/flow.js b/tools/ui/node_modules/ast-types/lib/def/flow.js
new file mode 100644
index 0000000000000000000000000000000000000000..52235f04b59fcc061fbd2052b6a6d41ffc09ece3
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/flow.js
@@ -0,0 +1,362 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es_proposals_1 = tslib_1.__importDefault(require("./es-proposals"));
+var type_annotations_1 = tslib_1.__importDefault(require("./type-annotations"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es_proposals_1.default);
+ fork.use(type_annotations_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ // Base types
+ def("Flow").bases("Node");
+ def("FlowType").bases("Flow");
+ // Type annotations
+ def("AnyTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("EmptyTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("MixedTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("VoidTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("SymbolTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("NumberTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("BigIntTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("NumberLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build("value", "raw")
+ .field("value", Number)
+ .field("raw", String);
+ // Babylon 6 differs in AST from Flow
+ // same as NumberLiteralTypeAnnotation
+ def("NumericLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build("value", "raw")
+ .field("value", Number)
+ .field("raw", String);
+ def("BigIntLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build("value", "raw")
+ .field("value", null)
+ .field("raw", String);
+ def("StringTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("StringLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build("value", "raw")
+ .field("value", String)
+ .field("raw", String);
+ def("BooleanTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("BooleanLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build("value", "raw")
+ .field("value", Boolean)
+ .field("raw", String);
+ def("TypeAnnotation")
+ .bases("Node")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("FlowType"));
+ def("NullableTypeAnnotation")
+ .bases("FlowType")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("FlowType"));
+ def("NullLiteralTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("NullTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("ThisTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("ExistsTypeAnnotation")
+ .bases("FlowType")
+ .build();
+ def("ExistentialTypeParam")
+ .bases("FlowType")
+ .build();
+ def("FunctionTypeAnnotation")
+ .bases("FlowType")
+ .build("params", "returnType", "rest", "typeParameters")
+ .field("params", [def("FunctionTypeParam")])
+ .field("returnType", def("FlowType"))
+ .field("rest", or(def("FunctionTypeParam"), null))
+ .field("typeParameters", or(def("TypeParameterDeclaration"), null));
+ def("FunctionTypeParam")
+ .bases("Node")
+ .build("name", "typeAnnotation", "optional")
+ .field("name", or(def("Identifier"), null))
+ .field("typeAnnotation", def("FlowType"))
+ .field("optional", Boolean);
+ def("ArrayTypeAnnotation")
+ .bases("FlowType")
+ .build("elementType")
+ .field("elementType", def("FlowType"));
+ def("ObjectTypeAnnotation")
+ .bases("FlowType")
+ .build("properties", "indexers", "callProperties")
+ .field("properties", [
+ or(def("ObjectTypeProperty"), def("ObjectTypeSpreadProperty"))
+ ])
+ .field("indexers", [def("ObjectTypeIndexer")], defaults.emptyArray)
+ .field("callProperties", [def("ObjectTypeCallProperty")], defaults.emptyArray)
+ .field("inexact", or(Boolean, void 0), defaults["undefined"])
+ .field("exact", Boolean, defaults["false"])
+ .field("internalSlots", [def("ObjectTypeInternalSlot")], defaults.emptyArray);
+ def("Variance")
+ .bases("Node")
+ .build("kind")
+ .field("kind", or("plus", "minus"));
+ var LegacyVariance = or(def("Variance"), "plus", "minus", null);
+ def("ObjectTypeProperty")
+ .bases("Node")
+ .build("key", "value", "optional")
+ .field("key", or(def("Literal"), def("Identifier")))
+ .field("value", def("FlowType"))
+ .field("optional", Boolean)
+ .field("variance", LegacyVariance, defaults["null"]);
+ def("ObjectTypeIndexer")
+ .bases("Node")
+ .build("id", "key", "value")
+ .field("id", def("Identifier"))
+ .field("key", def("FlowType"))
+ .field("value", def("FlowType"))
+ .field("variance", LegacyVariance, defaults["null"])
+ .field("static", Boolean, defaults["false"]);
+ def("ObjectTypeCallProperty")
+ .bases("Node")
+ .build("value")
+ .field("value", def("FunctionTypeAnnotation"))
+ .field("static", Boolean, defaults["false"]);
+ def("QualifiedTypeIdentifier")
+ .bases("Node")
+ .build("qualification", "id")
+ .field("qualification", or(def("Identifier"), def("QualifiedTypeIdentifier")))
+ .field("id", def("Identifier"));
+ def("GenericTypeAnnotation")
+ .bases("FlowType")
+ .build("id", "typeParameters")
+ .field("id", or(def("Identifier"), def("QualifiedTypeIdentifier")))
+ .field("typeParameters", or(def("TypeParameterInstantiation"), null));
+ def("MemberTypeAnnotation")
+ .bases("FlowType")
+ .build("object", "property")
+ .field("object", def("Identifier"))
+ .field("property", or(def("MemberTypeAnnotation"), def("GenericTypeAnnotation")));
+ def("IndexedAccessType")
+ .bases("FlowType")
+ .build("objectType", "indexType")
+ .field("objectType", def("FlowType"))
+ .field("indexType", def("FlowType"));
+ def("OptionalIndexedAccessType")
+ .bases("FlowType")
+ .build("objectType", "indexType", "optional")
+ .field("objectType", def("FlowType"))
+ .field("indexType", def("FlowType"))
+ .field('optional', Boolean);
+ def("UnionTypeAnnotation")
+ .bases("FlowType")
+ .build("types")
+ .field("types", [def("FlowType")]);
+ def("IntersectionTypeAnnotation")
+ .bases("FlowType")
+ .build("types")
+ .field("types", [def("FlowType")]);
+ def("TypeofTypeAnnotation")
+ .bases("FlowType")
+ .build("argument")
+ .field("argument", def("FlowType"));
+ def("ObjectTypeSpreadProperty")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("FlowType"));
+ def("ObjectTypeInternalSlot")
+ .bases("Node")
+ .build("id", "value", "optional", "static", "method")
+ .field("id", def("Identifier"))
+ .field("value", def("FlowType"))
+ .field("optional", Boolean)
+ .field("static", Boolean)
+ .field("method", Boolean);
+ def("TypeParameterDeclaration")
+ .bases("Node")
+ .build("params")
+ .field("params", [def("TypeParameter")]);
+ def("TypeParameterInstantiation")
+ .bases("Node")
+ .build("params")
+ .field("params", [def("FlowType")]);
+ def("TypeParameter")
+ .bases("FlowType")
+ .build("name", "variance", "bound", "default")
+ .field("name", String)
+ .field("variance", LegacyVariance, defaults["null"])
+ .field("bound", or(def("TypeAnnotation"), null), defaults["null"])
+ .field("default", or(def("FlowType"), null), defaults["null"]);
+ def("ClassProperty")
+ .field("variance", LegacyVariance, defaults["null"]);
+ def("ClassImplements")
+ .bases("Node")
+ .build("id")
+ .field("id", def("Identifier"))
+ .field("superClass", or(def("Expression"), null), defaults["null"])
+ .field("typeParameters", or(def("TypeParameterInstantiation"), null), defaults["null"]);
+ def("InterfaceTypeAnnotation")
+ .bases("FlowType")
+ .build("body", "extends")
+ .field("body", def("ObjectTypeAnnotation"))
+ .field("extends", or([def("InterfaceExtends")], null), defaults["null"]);
+ def("InterfaceDeclaration")
+ .bases("Declaration")
+ .build("id", "body", "extends")
+ .field("id", def("Identifier"))
+ .field("typeParameters", or(def("TypeParameterDeclaration"), null), defaults["null"])
+ .field("body", def("ObjectTypeAnnotation"))
+ .field("extends", [def("InterfaceExtends")]);
+ def("DeclareInterface")
+ .bases("InterfaceDeclaration")
+ .build("id", "body", "extends");
+ def("InterfaceExtends")
+ .bases("Node")
+ .build("id")
+ .field("id", def("Identifier"))
+ .field("typeParameters", or(def("TypeParameterInstantiation"), null), defaults["null"]);
+ def("TypeAlias")
+ .bases("Declaration")
+ .build("id", "typeParameters", "right")
+ .field("id", def("Identifier"))
+ .field("typeParameters", or(def("TypeParameterDeclaration"), null))
+ .field("right", def("FlowType"));
+ def("DeclareTypeAlias")
+ .bases("TypeAlias")
+ .build("id", "typeParameters", "right");
+ def("OpaqueType")
+ .bases("Declaration")
+ .build("id", "typeParameters", "impltype", "supertype")
+ .field("id", def("Identifier"))
+ .field("typeParameters", or(def("TypeParameterDeclaration"), null))
+ .field("impltype", def("FlowType"))
+ .field("supertype", or(def("FlowType"), null));
+ def("DeclareOpaqueType")
+ .bases("OpaqueType")
+ .build("id", "typeParameters", "supertype")
+ .field("impltype", or(def("FlowType"), null));
+ def("TypeCastExpression")
+ .bases("Expression")
+ .build("expression", "typeAnnotation")
+ .field("expression", def("Expression"))
+ .field("typeAnnotation", def("TypeAnnotation"));
+ def("TupleTypeAnnotation")
+ .bases("FlowType")
+ .build("types")
+ .field("types", [def("FlowType")]);
+ def("DeclareVariable")
+ .bases("Statement")
+ .build("id")
+ .field("id", def("Identifier"));
+ def("DeclareFunction")
+ .bases("Statement")
+ .build("id")
+ .field("id", def("Identifier"))
+ .field("predicate", or(def("FlowPredicate"), null), defaults["null"]);
+ def("DeclareClass")
+ .bases("InterfaceDeclaration")
+ .build("id");
+ def("DeclareModule")
+ .bases("Statement")
+ .build("id", "body")
+ .field("id", or(def("Identifier"), def("Literal")))
+ .field("body", def("BlockStatement"));
+ def("DeclareModuleExports")
+ .bases("Statement")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("TypeAnnotation"));
+ def("DeclareExportDeclaration")
+ .bases("Declaration")
+ .build("default", "declaration", "specifiers", "source")
+ .field("default", Boolean)
+ .field("declaration", or(def("DeclareVariable"), def("DeclareFunction"), def("DeclareClass"), def("FlowType"), // Implies default.
+ def("TypeAlias"), // Implies named type
+ def("DeclareOpaqueType"), // Implies named opaque type
+ def("InterfaceDeclaration"), null))
+ .field("specifiers", [or(def("ExportSpecifier"), def("ExportBatchSpecifier"))], defaults.emptyArray)
+ .field("source", or(def("Literal"), null), defaults["null"]);
+ def("DeclareExportAllDeclaration")
+ .bases("Declaration")
+ .build("source")
+ .field("source", or(def("Literal"), null), defaults["null"]);
+ def("ImportDeclaration")
+ .field("importKind", or("value", "type", "typeof"), function () { return "value"; });
+ def("FlowPredicate").bases("Flow");
+ def("InferredPredicate")
+ .bases("FlowPredicate")
+ .build();
+ def("DeclaredPredicate")
+ .bases("FlowPredicate")
+ .build("value")
+ .field("value", def("Expression"));
+ def("Function")
+ .field("predicate", or(def("FlowPredicate"), null), defaults["null"]);
+ def("CallExpression")
+ .field("typeArguments", or(null, def("TypeParameterInstantiation")), defaults["null"]);
+ def("NewExpression")
+ .field("typeArguments", or(null, def("TypeParameterInstantiation")), defaults["null"]);
+ // Enums
+ def("EnumDeclaration")
+ .bases("Declaration")
+ .build("id", "body")
+ .field("id", def("Identifier"))
+ .field("body", or(def("EnumBooleanBody"), def("EnumNumberBody"), def("EnumStringBody"), def("EnumSymbolBody")));
+ def("EnumBooleanBody")
+ .build("members", "explicitType")
+ .field("members", [def("EnumBooleanMember")])
+ .field("explicitType", Boolean);
+ def("EnumNumberBody")
+ .build("members", "explicitType")
+ .field("members", [def("EnumNumberMember")])
+ .field("explicitType", Boolean);
+ def("EnumStringBody")
+ .build("members", "explicitType")
+ .field("members", or([def("EnumStringMember")], [def("EnumDefaultedMember")]))
+ .field("explicitType", Boolean);
+ def("EnumSymbolBody")
+ .build("members")
+ .field("members", [def("EnumDefaultedMember")]);
+ def("EnumBooleanMember")
+ .build("id", "init")
+ .field("id", def("Identifier"))
+ .field("init", or(def("Literal"), Boolean));
+ def("EnumNumberMember")
+ .build("id", "init")
+ .field("id", def("Identifier"))
+ .field("init", def("Literal"));
+ def("EnumStringMember")
+ .build("id", "init")
+ .field("id", def("Identifier"))
+ .field("init", def("Literal"));
+ def("EnumDefaultedMember")
+ .build("id")
+ .field("id", def("Identifier"));
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=flow.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/flow.js.map b/tools/ui/node_modules/ast-types/lib/def/flow.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..86813333f46822c16cfd8467284cf0138dea995f
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/flow.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../src/def/flow.ts"],"names":[],"mappings":";;;AACA,wEAA4C;AAC5C,gFAAoD;AACpD,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,CAAC,GAAG,CAAC,sBAAc,CAAC,CAAC;IACzB,IAAI,CAAC,GAAG,CAAC,0BAAkB,CAAC,CAAC;IAE7B,IAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IAC3B,IAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACzB,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAEjD,aAAa;IAEb,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,GAAG,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B,mBAAmB;IAEnB,GAAG,CAAC,mBAAmB,CAAC;SACrB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,EAAE,CAAC;IAEX,GAAG,CAAC,qBAAqB,CAAC;SACvB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,EAAE,CAAC;IAEX,GAAG,CAAC,qBAAqB,CAAC;SACvB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,EAAE,CAAC;IAEX,GAAG,CAAC,oBAAoB,CAAC;SACtB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,EAAE,CAAC;IAEX,GAAG,CAAC,sBAAsB,CAAC;SACxB,KAAK,CAAC,UAAU,CAAC;SACjB,KAAK,EAAE,CAAC;IAEX,GAAG,CAAC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,CAAC,CAAC,CAAC;IAE9C,GAAG,CAAC,kBAAkB,CAAC;SACpB,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC;SACnB,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;SAC9B,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;IAEjC,GAAG,CAAC,kBAAkB,CAAC;SACpB,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC;SACnB,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;SAC9B,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;IAEjC,GAAG,CAAC,qBAAqB,CAAC;SACvB,KAAK,CAAC,IAAI,CAAC;SACX,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;AACpC,CAAC;AA3dD,4BA2dC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/jsx.d.ts b/tools/ui/node_modules/ast-types/lib/def/jsx.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/jsx.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/jsx.js b/tools/ui/node_modules/ast-types/lib/def/jsx.js
new file mode 100644
index 0000000000000000000000000000000000000000..de058bfb6522e0c8120ccb5d0dd2cd91e31e04d1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/jsx.js
@@ -0,0 +1,110 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var es_proposals_1 = tslib_1.__importDefault(require("./es-proposals"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ fork.use(es_proposals_1.default);
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ def("JSXAttribute")
+ .bases("Node")
+ .build("name", "value")
+ .field("name", or(def("JSXIdentifier"), def("JSXNamespacedName")))
+ .field("value", or(def("Literal"), // attr="value"
+ def("JSXExpressionContainer"), // attr={value}
+ def("JSXElement"), // attr=
+ def("JSXFragment"), // attr=<>>
+ null // attr= or just attr
+ ), defaults["null"]);
+ def("JSXIdentifier")
+ .bases("Identifier")
+ .build("name")
+ .field("name", String);
+ def("JSXNamespacedName")
+ .bases("Node")
+ .build("namespace", "name")
+ .field("namespace", def("JSXIdentifier"))
+ .field("name", def("JSXIdentifier"));
+ def("JSXMemberExpression")
+ .bases("MemberExpression")
+ .build("object", "property")
+ .field("object", or(def("JSXIdentifier"), def("JSXMemberExpression")))
+ .field("property", def("JSXIdentifier"))
+ .field("computed", Boolean, defaults.false);
+ var JSXElementName = or(def("JSXIdentifier"), def("JSXNamespacedName"), def("JSXMemberExpression"));
+ def("JSXSpreadAttribute")
+ .bases("Node")
+ .build("argument")
+ .field("argument", def("Expression"));
+ var JSXAttributes = [or(def("JSXAttribute"), def("JSXSpreadAttribute"))];
+ def("JSXExpressionContainer")
+ .bases("Expression")
+ .build("expression")
+ .field("expression", or(def("Expression"), def("JSXEmptyExpression")));
+ var JSXChildren = [or(def("JSXText"), def("JSXExpressionContainer"), def("JSXSpreadChild"), def("JSXElement"), def("JSXFragment"), def("Literal") // Legacy: Esprima should return JSXText instead.
+ )];
+ def("JSXElement")
+ .bases("Expression")
+ .build("openingElement", "closingElement", "children")
+ .field("openingElement", def("JSXOpeningElement"))
+ .field("closingElement", or(def("JSXClosingElement"), null), defaults["null"])
+ .field("children", JSXChildren, defaults.emptyArray)
+ .field("name", JSXElementName, function () {
+ // Little-known fact: the `this` object inside a default function
+ // is none other than the partially-built object itself, and any
+ // fields initialized directly from builder function arguments
+ // (like openingElement, closingElement, and children) are
+ // guaranteed to be available.
+ return this.openingElement.name;
+ }, true) // hidden from traversal
+ .field("selfClosing", Boolean, function () {
+ return this.openingElement.selfClosing;
+ }, true) // hidden from traversal
+ .field("attributes", JSXAttributes, function () {
+ return this.openingElement.attributes;
+ }, true); // hidden from traversal
+ def("JSXOpeningElement")
+ .bases("Node")
+ .build("name", "attributes", "selfClosing")
+ .field("name", JSXElementName)
+ .field("attributes", JSXAttributes, defaults.emptyArray)
+ .field("selfClosing", Boolean, defaults["false"]);
+ def("JSXClosingElement")
+ .bases("Node")
+ .build("name")
+ .field("name", JSXElementName);
+ def("JSXFragment")
+ .bases("Expression")
+ .build("openingFragment", "closingFragment", "children")
+ .field("openingFragment", def("JSXOpeningFragment"))
+ .field("closingFragment", def("JSXClosingFragment"))
+ .field("children", JSXChildren, defaults.emptyArray);
+ def("JSXOpeningFragment")
+ .bases("Node")
+ .build();
+ def("JSXClosingFragment")
+ .bases("Node")
+ .build();
+ def("JSXText")
+ .bases("Literal")
+ .build("value", "raw")
+ .field("value", String)
+ .field("raw", String, function () {
+ return this.value;
+ });
+ def("JSXEmptyExpression")
+ .bases("Node")
+ .build();
+ def("JSXSpreadChild")
+ .bases("Node")
+ .build("expression")
+ .field("expression", def("Expression"));
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=jsx.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/jsx.js.map b/tools/ui/node_modules/ast-types/lib/def/jsx.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..740ac620bbd557b381afd17c0afecdb3a01e2c40
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/jsx.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"jsx.js","sourceRoot":"","sources":["../../src/def/jsx.ts"],"names":[],"mappings":";;;AACA,wE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/lib/def/operators/core.d.ts b/tools/ui/node_modules/ast-types/lib/def/operators/core.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..c31d1218a768f8255038ceeda406443cf15ad7e5
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/core.d.ts
@@ -0,0 +1,5 @@
+export default function (): {
+ BinaryOperators: string[];
+ AssignmentOperators: string[];
+ LogicalOperators: string[];
+};
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/core.js b/tools/ui/node_modules/ast-types/lib/def/operators/core.js
new file mode 100644
index 0000000000000000000000000000000000000000..de1a76c9595ad495c5a0ea274b2d8f21f62c2626
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/core.js
@@ -0,0 +1,27 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var shared_1 = require("../../shared");
+function default_1() {
+ return {
+ BinaryOperators: [
+ "==", "!=", "===", "!==",
+ "<", "<=", ">", ">=",
+ "<<", ">>", ">>>",
+ "+", "-", "*", "/", "%",
+ "&",
+ "|", "^", "in",
+ "instanceof",
+ ],
+ AssignmentOperators: [
+ "=", "+=", "-=", "*=", "/=", "%=",
+ "<<=", ">>=", ">>>=",
+ "|=", "^=", "&=",
+ ],
+ LogicalOperators: [
+ "||", "&&",
+ ],
+ };
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=core.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/core.js.map b/tools/ui/node_modules/ast-types/lib/def/operators/core.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..f6949e5d81ab9c4bddaa870ad86ba5375aa367c6
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/core.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/def/operators/core.ts"],"names":[],"mappings":";;AAAA,uCAAqD;AAErD;IACE,OAAO;QACL,eAAe,EAAE;YACf,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK;YACxB,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI;YACpB,IAAI,EAAE,IAAI,EAAE,KAAK;YACjB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;YACvB,GAAG;YACH,GAAG,EAAE,GAAG,EAAE,IAAI;YACd,YAAY;SACb;QAED,mBAAmB,EAAE;YACnB,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;YACjC,KAAK,EAAE,KAAK,EAAE,MAAM;YACpB,IAAI,EAAE,IAAI,EAAE,IAAI;SACjB;QAED,gBAAgB,EAAE;YAChB,IAAI,EAAE,IAAI;SACX;KACF,CAAC;AACJ,CAAC;AAtBD,4BAsBC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2016.d.ts b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d93f463aa9313bef87a345a3ad606c9232170fd1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.d.ts
@@ -0,0 +1,5 @@
+export default function (fork: import("../../types").Fork): {
+ BinaryOperators: string[];
+ AssignmentOperators: string[];
+ LogicalOperators: string[];
+};
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js
new file mode 100644
index 0000000000000000000000000000000000000000..c535b7bdba1789c29a4fe39ccfe5c256b9b31438
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js
@@ -0,0 +1,21 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var shared_1 = require("../../shared");
+var core_1 = tslib_1.__importDefault(require("./core"));
+function default_1(fork) {
+ var result = fork.use(core_1.default);
+ // Exponentiation operators. Must run before BinaryOperators or
+ // AssignmentOperators are used (hence before fork.use(es6Def)).
+ // https://github.com/tc39/proposal-exponentiation-operator
+ if (result.BinaryOperators.indexOf("**") < 0) {
+ result.BinaryOperators.push("**");
+ }
+ if (result.AssignmentOperators.indexOf("**=") < 0) {
+ result.AssignmentOperators.push("**=");
+ }
+ return result;
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2016.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js.map b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..b5ead9675c4cba1f7cd495b9107ba27b4c87a680
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2016.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2016.js","sourceRoot":"","sources":["../../../src/def/operators/es2016.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,wDAAgC;AAEhC,mBAAyB,IAAgC;IACvD,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,cAAU,CAAC,CAAC;IAEpC,+DAA+D;IAC/D,gEAAgE;IAChE,2DAA2D;IAC3D,IAAI,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAC5C,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACnC;IACD,IAAI,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACjD,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACxC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAdD,4BAcC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2020.d.ts b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d93f463aa9313bef87a345a3ad606c9232170fd1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.d.ts
@@ -0,0 +1,5 @@
+export default function (fork: import("../../types").Fork): {
+ BinaryOperators: string[];
+ AssignmentOperators: string[];
+ LogicalOperators: string[];
+};
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js
new file mode 100644
index 0000000000000000000000000000000000000000..cfd7a27aa58b3146a884f99fc8bb9a521b0dc85a
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js
@@ -0,0 +1,17 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var shared_1 = require("../../shared");
+var es2016_1 = tslib_1.__importDefault(require("./es2016"));
+function default_1(fork) {
+ var result = fork.use(es2016_1.default);
+ // Nullish coalescing. Must run before LogicalOperators is used.
+ // https://github.com/tc39/proposal-nullish-coalescing
+ if (result.LogicalOperators.indexOf("??") < 0) {
+ result.LogicalOperators.push("??");
+ }
+ return result;
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2020.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js.map b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..98b72ff880b57f6576ce84a3c40a648b3bc36b68
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2020.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2020.js","sourceRoot":"","sources":["../../../src/def/operators/es2020.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,4DAAoC;AAEpC,mBAAyB,IAAgC;IACvD,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IAEtC,gEAAgE;IAChE,sDAAsD;IACtD,IAAI,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAC7C,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACpC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAVD,4BAUC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2021.d.ts b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d93f463aa9313bef87a345a3ad606c9232170fd1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.d.ts
@@ -0,0 +1,5 @@
+export default function (fork: import("../../types").Fork): {
+ BinaryOperators: string[];
+ AssignmentOperators: string[];
+ LogicalOperators: string[];
+};
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js
new file mode 100644
index 0000000000000000000000000000000000000000..e5e306dba14d9ce6b2d86521d1247740946e0095
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js
@@ -0,0 +1,20 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var shared_1 = require("../../shared");
+var es2020_1 = tslib_1.__importDefault(require("./es2020"));
+function default_1(fork) {
+ var result = fork.use(es2020_1.default);
+ // Logical assignment operators. Must run before AssignmentOperators is used.
+ // https://github.com/tc39/proposal-logical-assignment
+ result.LogicalOperators.forEach(function (op) {
+ var assignOp = op + "=";
+ if (result.AssignmentOperators.indexOf(assignOp) < 0) {
+ result.AssignmentOperators.push(assignOp);
+ }
+ });
+ return result;
+}
+exports.default = default_1;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=es2021.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js.map b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..18211d28dc2392a23426c7a21075fdbfc4cc7d30
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/operators/es2021.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"es2021.js","sourceRoot":"","sources":["../../../src/def/operators/es2021.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,4DAAoC;AAEpC,mBAAyB,IAAgC;IACvD,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC;IAEtC,6EAA6E;IAC7E,sDAAsD;IACtD,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,UAAA,EAAE;QAChC,IAAM,QAAQ,GAAG,EAAE,GAAG,GAAG,CAAC;QAC1B,IAAI,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACpD,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC3C;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAbD,4BAaC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/type-annotations.d.ts b/tools/ui/node_modules/ast-types/lib/def/type-annotations.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..7c57c575326752e61ee142629a8c12be8abee6ea
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/type-annotations.d.ts
@@ -0,0 +1,7 @@
+/**
+ * Type annotation defs shared between Flow and TypeScript.
+ * These defs could not be defined in ./flow.ts or ./typescript.ts directly
+ * because they use the same name.
+ */
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/type-annotations.js b/tools/ui/node_modules/ast-types/lib/def/type-annotations.js
new file mode 100644
index 0000000000000000000000000000000000000000..df87430199a0c31b2c1f39c9f2ec7adec45b110e
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/type-annotations.js
@@ -0,0 +1,42 @@
+"use strict";
+/**
+ * Type annotation defs shared between Flow and TypeScript.
+ * These defs could not be defined in ./flow.ts or ./typescript.ts directly
+ * because they use the same name.
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ var types = fork.use(types_1.default);
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ var TypeAnnotation = or(def("TypeAnnotation"), def("TSTypeAnnotation"), null);
+ var TypeParamDecl = or(def("TypeParameterDeclaration"), def("TSTypeParameterDeclaration"), null);
+ def("Identifier")
+ .field("typeAnnotation", TypeAnnotation, defaults["null"]);
+ def("ObjectPattern")
+ .field("typeAnnotation", TypeAnnotation, defaults["null"]);
+ def("Function")
+ .field("returnType", TypeAnnotation, defaults["null"])
+ .field("typeParameters", TypeParamDecl, defaults["null"]);
+ def("ClassProperty")
+ .build("key", "value", "typeAnnotation", "static")
+ .field("value", or(def("Expression"), null))
+ .field("static", Boolean, defaults["false"])
+ .field("typeAnnotation", TypeAnnotation, defaults["null"]);
+ ["ClassDeclaration",
+ "ClassExpression",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .field("typeParameters", TypeParamDecl, defaults["null"])
+ .field("superTypeParameters", or(def("TypeParameterInstantiation"), def("TSTypeParameterInstantiation"), null), defaults["null"])
+ .field("implements", or([def("ClassImplements")], [def("TSExpressionWithTypeArguments")]), defaults.emptyArray);
+ });
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=type-annotations.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/type-annotations.js.map b/tools/ui/node_modules/ast-types/lib/def/type-annotations.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..04ef2983bd44ffff20d2fdf90c676072d7fdbfe0
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/type-annotations.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"type-annotations.js","sourceRoot":"","sources":["../../src/def/type-annotations.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IAClC,IAAI,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IACzB,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACvB,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAE/C,IAAI,cAAc,GAAG,EAAE,CACrB,GAAG,CAAC,gBAAgB,CAAC,EACrB,GAAG,CAAC,kBAAkB,CAAC,EACvB,IAAI,CACL,CAAC;IAEF,IAAI,aAAa,GAAG,EAAE,CACpB,GAAG,CAAC,0BAA0B,CAAC,EAC/B,GAAG,CAAC,4BAA4B,CAAC,EACjC,IAAI,CACL,CAAC;IAEF,GAAG,CAAC,YAAY,CAAC;SACd,KAAK,CAAC,gBAAgB,EAAE,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAE7D,GAAG,CAAC,eAAe,CAAC;SACjB,KAAK,CAAC,gBAAgB,EAAE,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAE7D,GAAG,CAAC,UAAU,CAAC;SACZ,KAAK,CAAC,YAAY,EAAE,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;SACrD,KAAK,CAAC,gBAAgB,EAAE,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAE5D,GAAG,CAAC,eAAe,CAAC;SACjB,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,CAAC;SACjD,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,CAAC;SAC3C,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;SAC3C,KAAK,CAAC,gBAAgB,EAAE,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAE7D,CAAC,kBAAkB;QAClB,iBAAiB;KACjB,CAAC,OAAO,CAAC,UAAA,QAAQ;QAChB,GAAG,CAAC,QAAQ,CAAC;aACV,KAAK,CAAC,gBAAgB,EAAE,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;aACxD,KAAK,CAAC,qBAAqB,EACrB,EAAE,CAAC,GAAG,CAAC,4BAA4B,CAAC,EACjC,GAAG,CAAC,8BAA8B,CAAC,EACnC,IAAI,CAAC,EACR,QAAQ,CAAC,MAAM,CAAC,CAAC;aACvB,KAAK,CAAC,YAAY,EACZ,EAAE,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,EACxB,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC,CAAC,EAC1C,QAAQ,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC;AAjDD,4BAiDC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/typescript.d.ts b/tools/ui/node_modules/ast-types/lib/def/typescript.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ef9137c1c779802fc1bf34b7473f5e16f295de1
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/typescript.d.ts
@@ -0,0 +1,2 @@
+import { Fork } from "../types";
+export default function (fork: Fork): void;
diff --git a/tools/ui/node_modules/ast-types/lib/def/typescript.js b/tools/ui/node_modules/ast-types/lib/def/typescript.js
new file mode 100644
index 0000000000000000000000000000000000000000..db9c3e904eb75ab823e679bb34eaf9c6d2995fd6
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/typescript.js
@@ -0,0 +1,369 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var babel_core_1 = tslib_1.__importDefault(require("./babel-core"));
+var type_annotations_1 = tslib_1.__importDefault(require("./type-annotations"));
+var types_1 = tslib_1.__importDefault(require("../types"));
+var shared_1 = tslib_1.__importStar(require("../shared"));
+function default_1(fork) {
+ // Since TypeScript is parsed by Babylon, include the core Babylon types
+ // but omit the Flow-related types.
+ fork.use(babel_core_1.default);
+ fork.use(type_annotations_1.default);
+ var types = fork.use(types_1.default);
+ var n = types.namedTypes;
+ var def = types.Type.def;
+ var or = types.Type.or;
+ var defaults = fork.use(shared_1.default).defaults;
+ var StringLiteral = types.Type.from(function (value, deep) {
+ if (n.StringLiteral &&
+ n.StringLiteral.check(value, deep)) {
+ return true;
+ }
+ if (n.Literal &&
+ n.Literal.check(value, deep) &&
+ typeof value.value === "string") {
+ return true;
+ }
+ return false;
+ }, "StringLiteral");
+ def("TSType")
+ .bases("Node");
+ var TSEntityName = or(def("Identifier"), def("TSQualifiedName"));
+ def("TSTypeReference")
+ .bases("TSType", "TSHasOptionalTypeParameterInstantiation")
+ .build("typeName", "typeParameters")
+ .field("typeName", TSEntityName);
+ // An abstract (non-buildable) base type that provide a commonly-needed
+ // optional .typeParameters field.
+ def("TSHasOptionalTypeParameterInstantiation")
+ .field("typeParameters", or(def("TSTypeParameterInstantiation"), null), defaults["null"]);
+ // An abstract (non-buildable) base type that provide a commonly-needed
+ // optional .typeParameters field.
+ def("TSHasOptionalTypeParameters")
+ .field("typeParameters", or(def("TSTypeParameterDeclaration"), null, void 0), defaults["null"]);
+ // An abstract (non-buildable) base type that provide a commonly-needed
+ // optional .typeAnnotation field.
+ def("TSHasOptionalTypeAnnotation")
+ .field("typeAnnotation", or(def("TSTypeAnnotation"), null), defaults["null"]);
+ def("TSQualifiedName")
+ .bases("Node")
+ .build("left", "right")
+ .field("left", TSEntityName)
+ .field("right", TSEntityName);
+ def("TSAsExpression")
+ .bases("Expression", "Pattern")
+ .build("expression", "typeAnnotation")
+ .field("expression", def("Expression"))
+ .field("typeAnnotation", def("TSType"))
+ .field("extra", or({ parenthesized: Boolean }, null), defaults["null"]);
+ def("TSTypeCastExpression")
+ .bases("Expression")
+ .build("expression", "typeAnnotation")
+ .field("expression", def("Expression"))
+ .field("typeAnnotation", def("TSType"));
+ def("TSSatisfiesExpression")
+ .bases("Expression", "Pattern")
+ .build("expression", "typeAnnotation")
+ .field("expression", def("Expression"))
+ .field("typeAnnotation", def("TSType"));
+ def("TSNonNullExpression")
+ .bases("Expression", "Pattern")
+ .build("expression")
+ .field("expression", def("Expression"));
+ [
+ "TSAnyKeyword",
+ "TSBigIntKeyword",
+ "TSBooleanKeyword",
+ "TSNeverKeyword",
+ "TSNullKeyword",
+ "TSNumberKeyword",
+ "TSObjectKeyword",
+ "TSStringKeyword",
+ "TSSymbolKeyword",
+ "TSUndefinedKeyword",
+ "TSUnknownKeyword",
+ "TSVoidKeyword",
+ "TSIntrinsicKeyword",
+ "TSThisType",
+ ].forEach(function (keywordType) {
+ def(keywordType)
+ .bases("TSType")
+ .build();
+ });
+ def("TSArrayType")
+ .bases("TSType")
+ .build("elementType")
+ .field("elementType", def("TSType"));
+ def("TSLiteralType")
+ .bases("TSType")
+ .build("literal")
+ .field("literal", or(def("NumericLiteral"), def("StringLiteral"), def("BooleanLiteral"), def("TemplateLiteral"), def("UnaryExpression"), def("BigIntLiteral")));
+ def("TemplateLiteral")
+ // The TemplateLiteral type appears to be reused for TypeScript template
+ // literal types (instead of introducing a new TSTemplateLiteralType type),
+ // so we allow the templateLiteral.expressions array to be either all
+ // expressions or all TypeScript types.
+ .field("expressions", or([def("Expression")], [def("TSType")]));
+ ["TSUnionType",
+ "TSIntersectionType",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .bases("TSType")
+ .build("types")
+ .field("types", [def("TSType")]);
+ });
+ def("TSConditionalType")
+ .bases("TSType")
+ .build("checkType", "extendsType", "trueType", "falseType")
+ .field("checkType", def("TSType"))
+ .field("extendsType", def("TSType"))
+ .field("trueType", def("TSType"))
+ .field("falseType", def("TSType"));
+ def("TSInferType")
+ .bases("TSType")
+ .build("typeParameter")
+ .field("typeParameter", def("TSTypeParameter"));
+ def("TSParenthesizedType")
+ .bases("TSType")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("TSType"));
+ var ParametersType = [or(def("Identifier"), def("RestElement"), def("ArrayPattern"), def("ObjectPattern"))];
+ ["TSFunctionType",
+ "TSConstructorType",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .bases("TSType", "TSHasOptionalTypeParameters", "TSHasOptionalTypeAnnotation")
+ .build("parameters")
+ .field("parameters", ParametersType);
+ });
+ def("TSDeclareFunction")
+ .bases("Declaration", "TSHasOptionalTypeParameters")
+ .build("id", "params", "returnType")
+ .field("declare", Boolean, defaults["false"])
+ .field("async", Boolean, defaults["false"])
+ .field("generator", Boolean, defaults["false"])
+ .field("id", or(def("Identifier"), null), defaults["null"])
+ .field("params", [def("Pattern")])
+ // tSFunctionTypeAnnotationCommon
+ .field("returnType", or(def("TSTypeAnnotation"), def("Noop"), // Still used?
+ null), defaults["null"]);
+ def("TSDeclareMethod")
+ .bases("Declaration", "TSHasOptionalTypeParameters")
+ .build("key", "params", "returnType")
+ .field("async", Boolean, defaults["false"])
+ .field("generator", Boolean, defaults["false"])
+ .field("params", [def("Pattern")])
+ // classMethodOrPropertyCommon
+ .field("abstract", Boolean, defaults["false"])
+ .field("accessibility", or("public", "private", "protected", void 0), defaults["undefined"])
+ .field("static", Boolean, defaults["false"])
+ .field("computed", Boolean, defaults["false"])
+ .field("optional", Boolean, defaults["false"])
+ .field("key", or(def("Identifier"), def("StringLiteral"), def("NumericLiteral"),
+ // Only allowed if .computed is true.
+ def("Expression")))
+ // classMethodOrDeclareMethodCommon
+ .field("kind", or("get", "set", "method", "constructor"), function getDefault() { return "method"; })
+ .field("access", // Not "accessibility"?
+ or("public", "private", "protected", void 0), defaults["undefined"])
+ .field("decorators", or([def("Decorator")], null), defaults["null"])
+ // tSFunctionTypeAnnotationCommon
+ .field("returnType", or(def("TSTypeAnnotation"), def("Noop"), // Still used?
+ null), defaults["null"]);
+ def("TSMappedType")
+ .bases("TSType")
+ .build("typeParameter", "typeAnnotation")
+ .field("readonly", or(Boolean, "+", "-"), defaults["false"])
+ .field("typeParameter", def("TSTypeParameter"))
+ .field("optional", or(Boolean, "+", "-"), defaults["false"])
+ .field("typeAnnotation", or(def("TSType"), null), defaults["null"]);
+ def("TSTupleType")
+ .bases("TSType")
+ .build("elementTypes")
+ .field("elementTypes", [or(def("TSType"), def("TSNamedTupleMember"))]);
+ def("TSNamedTupleMember")
+ .bases("TSType")
+ .build("label", "elementType", "optional")
+ .field("label", def("Identifier"))
+ .field("optional", Boolean, defaults["false"])
+ .field("elementType", def("TSType"));
+ def("TSRestType")
+ .bases("TSType")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("TSType"));
+ def("TSOptionalType")
+ .bases("TSType")
+ .build("typeAnnotation")
+ .field("typeAnnotation", def("TSType"));
+ def("TSIndexedAccessType")
+ .bases("TSType")
+ .build("objectType", "indexType")
+ .field("objectType", def("TSType"))
+ .field("indexType", def("TSType"));
+ def("TSTypeOperator")
+ .bases("TSType")
+ .build("operator")
+ .field("operator", String)
+ .field("typeAnnotation", def("TSType"));
+ def("TSTypeAnnotation")
+ .bases("Node")
+ .build("typeAnnotation")
+ .field("typeAnnotation", or(def("TSType"), def("TSTypeAnnotation")));
+ def("TSIndexSignature")
+ .bases("Declaration", "TSHasOptionalTypeAnnotation")
+ .build("parameters", "typeAnnotation")
+ .field("parameters", [def("Identifier")]) // Length === 1
+ .field("readonly", Boolean, defaults["false"]);
+ def("TSPropertySignature")
+ .bases("Declaration", "TSHasOptionalTypeAnnotation")
+ .build("key", "typeAnnotation", "optional")
+ .field("key", def("Expression"))
+ .field("computed", Boolean, defaults["false"])
+ .field("readonly", Boolean, defaults["false"])
+ .field("optional", Boolean, defaults["false"])
+ .field("initializer", or(def("Expression"), null), defaults["null"]);
+ def("TSMethodSignature")
+ .bases("Declaration", "TSHasOptionalTypeParameters", "TSHasOptionalTypeAnnotation")
+ .build("key", "parameters", "typeAnnotation")
+ .field("key", def("Expression"))
+ .field("computed", Boolean, defaults["false"])
+ .field("optional", Boolean, defaults["false"])
+ .field("parameters", ParametersType);
+ def("TSTypePredicate")
+ .bases("TSTypeAnnotation", "TSType")
+ .build("parameterName", "typeAnnotation", "asserts")
+ .field("parameterName", or(def("Identifier"), def("TSThisType")))
+ .field("typeAnnotation", or(def("TSTypeAnnotation"), null), defaults["null"])
+ .field("asserts", Boolean, defaults["false"]);
+ ["TSCallSignatureDeclaration",
+ "TSConstructSignatureDeclaration",
+ ].forEach(function (typeName) {
+ def(typeName)
+ .bases("Declaration", "TSHasOptionalTypeParameters", "TSHasOptionalTypeAnnotation")
+ .build("parameters", "typeAnnotation")
+ .field("parameters", ParametersType);
+ });
+ def("TSEnumMember")
+ .bases("Node")
+ .build("id", "initializer")
+ .field("id", or(def("Identifier"), StringLiteral))
+ .field("initializer", or(def("Expression"), null), defaults["null"]);
+ def("TSTypeQuery")
+ .bases("TSType")
+ .build("exprName")
+ .field("exprName", or(TSEntityName, def("TSImportType")));
+ // Inferred from Babylon's tsParseTypeMember method.
+ var TSTypeMember = or(def("TSCallSignatureDeclaration"), def("TSConstructSignatureDeclaration"), def("TSIndexSignature"), def("TSMethodSignature"), def("TSPropertySignature"));
+ def("TSTypeLiteral")
+ .bases("TSType")
+ .build("members")
+ .field("members", [TSTypeMember]);
+ def("TSTypeParameter")
+ .bases("Identifier")
+ .build("name", "constraint", "default")
+ .field("name", or(def("Identifier"), String))
+ .field("constraint", or(def("TSType"), void 0), defaults["undefined"])
+ .field("default", or(def("TSType"), void 0), defaults["undefined"]);
+ def("TSTypeAssertion")
+ .bases("Expression", "Pattern")
+ .build("typeAnnotation", "expression")
+ .field("typeAnnotation", def("TSType"))
+ .field("expression", def("Expression"))
+ .field("extra", or({ parenthesized: Boolean }, null), defaults["null"]);
+ def("TSTypeParameterDeclaration")
+ .bases("Declaration")
+ .build("params")
+ .field("params", [def("TSTypeParameter")]);
+ def("TSInstantiationExpression")
+ .bases("Expression", "TSHasOptionalTypeParameterInstantiation")
+ .build("expression", "typeParameters")
+ .field("expression", def("Expression"));
+ def("TSTypeParameterInstantiation")
+ .bases("Node")
+ .build("params")
+ .field("params", [def("TSType")]);
+ def("TSEnumDeclaration")
+ .bases("Declaration")
+ .build("id", "members")
+ .field("id", def("Identifier"))
+ .field("const", Boolean, defaults["false"])
+ .field("declare", Boolean, defaults["false"])
+ .field("members", [def("TSEnumMember")])
+ .field("initializer", or(def("Expression"), null), defaults["null"]);
+ def("TSTypeAliasDeclaration")
+ .bases("Declaration", "TSHasOptionalTypeParameters")
+ .build("id", "typeAnnotation")
+ .field("id", def("Identifier"))
+ .field("declare", Boolean, defaults["false"])
+ .field("typeAnnotation", def("TSType"));
+ def("TSModuleBlock")
+ .bases("Node")
+ .build("body")
+ .field("body", [def("Statement")]);
+ def("TSModuleDeclaration")
+ .bases("Declaration")
+ .build("id", "body")
+ .field("id", or(StringLiteral, TSEntityName))
+ .field("declare", Boolean, defaults["false"])
+ .field("global", Boolean, defaults["false"])
+ .field("body", or(def("TSModuleBlock"), def("TSModuleDeclaration"), null), defaults["null"]);
+ def("TSImportType")
+ .bases("TSType", "TSHasOptionalTypeParameterInstantiation")
+ .build("argument", "qualifier", "typeParameters")
+ .field("argument", StringLiteral)
+ .field("qualifier", or(TSEntityName, void 0), defaults["undefined"]);
+ def("TSImportEqualsDeclaration")
+ .bases("Declaration")
+ .build("id", "moduleReference")
+ .field("id", def("Identifier"))
+ .field("isExport", Boolean, defaults["false"])
+ .field("moduleReference", or(TSEntityName, def("TSExternalModuleReference")));
+ def("TSExternalModuleReference")
+ .bases("Declaration")
+ .build("expression")
+ .field("expression", StringLiteral);
+ def("TSExportAssignment")
+ .bases("Statement")
+ .build("expression")
+ .field("expression", def("Expression"));
+ def("TSNamespaceExportDeclaration")
+ .bases("Declaration")
+ .build("id")
+ .field("id", def("Identifier"));
+ def("TSInterfaceBody")
+ .bases("Node")
+ .build("body")
+ .field("body", [TSTypeMember]);
+ def("TSExpressionWithTypeArguments")
+ .bases("TSType", "TSHasOptionalTypeParameterInstantiation")
+ .build("expression", "typeParameters")
+ .field("expression", TSEntityName);
+ def("TSInterfaceDeclaration")
+ .bases("Declaration", "TSHasOptionalTypeParameters")
+ .build("id", "body")
+ .field("id", TSEntityName)
+ .field("declare", Boolean, defaults["false"])
+ .field("extends", or([def("TSExpressionWithTypeArguments")], null), defaults["null"])
+ .field("body", def("TSInterfaceBody"));
+ def("TSParameterProperty")
+ .bases("Pattern")
+ .build("parameter")
+ .field("accessibility", or("public", "private", "protected", void 0), defaults["undefined"])
+ .field("readonly", Boolean, defaults["false"])
+ .field("parameter", or(def("Identifier"), def("AssignmentPattern")));
+ def("ClassProperty")
+ .field("access", // Not "accessibility"?
+ or("public", "private", "protected", void 0), defaults["undefined"]);
+ def("ClassAccessorProperty")
+ .bases("Declaration", "TSHasOptionalTypeAnnotation");
+ // Defined already in es6 and babel-core.
+ def("ClassBody")
+ .field("body", [or(def("MethodDefinition"), def("VariableDeclarator"), def("ClassPropertyDefinition"), def("ClassProperty"), def("ClassPrivateProperty"), def("ClassAccessorProperty"), def("ClassMethod"), def("ClassPrivateMethod"), def("StaticBlock"),
+ // Just need to add these types:
+ def("TSDeclareMethod"), TSTypeMember)]);
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=typescript.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/def/typescript.js.map b/tools/ui/node_modules/ast-types/lib/def/typescript.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..dffbbb85ef8ffe0c0886145de56d667e8f3f69b6
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/def/typescript.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"typescript.js","sourceRoot":"","sources":["../../src/def/typescript.ts"],"names":[],"mappings":";;;AACA,oEAAwC;AACxC,gFAAoD;AACpD,2DAAmC;AACnC,0DAAgE;AAEhE,mBAAyB,IAAU;IACjC,wEAAwE;IACxE,mCAAmC;IACnC,IAAI,CAAC,GAAG,CAAC,oBAAY,CAAC,CAAC;IACvB,IAAI,CAAC,GAAG,CAAC,0BAAkB,CAAC,CAAC;IAE7B,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IAClC,IAAI,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC;IACzB,IAAI,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;IACzB,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;IACvB,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAY,CAAC,CAAC,QAAQ,CAAC;IAC/C,IAAI,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,KAAU,EAAE,IAAU;QAClE,IAAI,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE;YACtC,OAAO,IAAI,CAAA;SACZ;QACD,IAAI,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC;YAC5B,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,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CAAC,QAAQ,EAAE,uBAAuB;IACjC,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,EAC5C,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC;IAEhC,GAAG,CAAC,uBAAuB,CAAC;SACzB,KAAK,CAAC,aAAa,EAAE,6BAA6B,CAAC,CAAC;IAEvD,yCAAyC;IACzC,GAAG,CAAC,WAAW,CAAC;SACb,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,CAChB,GAAG,CAAC,kBAAkB,CAAC,EACvB,GAAG,CAAC,oBAAoB,CAAC,EACzB,GAAG,CAAC,yBAAyB,CAAC,EAC9B,GAAG,CAAC,eAAe,CAAC,EACpB,GAAG,CAAC,sBAAsB,CAAC,EAC3B,GAAG,CAAC,uBAAuB,CAAC,EAC5B,GAAG,CAAC,aAAa,CAAC,EAClB,GAAG,CAAC,oBAAoB,CAAC,EACzB,GAAG,CAAC,aAAa,CAAC;QAClB,gCAAgC;QAChC,GAAG,CAAC,iBAAiB,CAAC,EACtB,YAAY,CACb,CAAC,CAAC,CAAC;AACR,CAAC;AAngBD,4BAmgBC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/equiv.d.ts b/tools/ui/node_modules/ast-types/lib/equiv.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..0cfd6308a2ace82000de53d15ea848a995b4abd2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/equiv.d.ts
@@ -0,0 +1,5 @@
+import { Fork } from "./types";
+export default function (fork: Fork): {
+ (a: any, b: any, problemPath?: any): boolean;
+ assert(a: any, b: any): void;
+};
diff --git a/tools/ui/node_modules/ast-types/lib/equiv.js b/tools/ui/node_modules/ast-types/lib/equiv.js
new file mode 100644
index 0000000000000000000000000000000000000000..03ecfaa1b7d5c052eb7dc36ac23444af0e79032e
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/equiv.js
@@ -0,0 +1,157 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var shared_1 = require("./shared");
+var types_1 = tslib_1.__importDefault(require("./types"));
+function default_1(fork) {
+ var types = fork.use(types_1.default);
+ var getFieldNames = types.getFieldNames;
+ var getFieldValue = types.getFieldValue;
+ var isArray = types.builtInTypes.array;
+ var isObject = types.builtInTypes.object;
+ var isDate = types.builtInTypes.Date;
+ var isRegExp = types.builtInTypes.RegExp;
+ var hasOwn = Object.prototype.hasOwnProperty;
+ function astNodesAreEquivalent(a, b, problemPath) {
+ if (isArray.check(problemPath)) {
+ problemPath.length = 0;
+ }
+ else {
+ problemPath = null;
+ }
+ return areEquivalent(a, b, problemPath);
+ }
+ astNodesAreEquivalent.assert = function (a, b) {
+ var problemPath = [];
+ if (!astNodesAreEquivalent(a, b, problemPath)) {
+ if (problemPath.length === 0) {
+ if (a !== b) {
+ throw new Error("Nodes must be equal");
+ }
+ }
+ else {
+ throw new Error("Nodes differ in the following path: " +
+ problemPath.map(subscriptForProperty).join(""));
+ }
+ }
+ };
+ function subscriptForProperty(property) {
+ if (/[_$a-z][_$a-z0-9]*/i.test(property)) {
+ return "." + property;
+ }
+ return "[" + JSON.stringify(property) + "]";
+ }
+ function areEquivalent(a, b, problemPath) {
+ if (a === b) {
+ return true;
+ }
+ if (isArray.check(a)) {
+ return arraysAreEquivalent(a, b, problemPath);
+ }
+ if (isObject.check(a)) {
+ return objectsAreEquivalent(a, b, problemPath);
+ }
+ if (isDate.check(a)) {
+ return isDate.check(b) && (+a === +b);
+ }
+ if (isRegExp.check(a)) {
+ return isRegExp.check(b) && (a.source === b.source &&
+ a.global === b.global &&
+ a.multiline === b.multiline &&
+ a.ignoreCase === b.ignoreCase);
+ }
+ return a == b;
+ }
+ function arraysAreEquivalent(a, b, problemPath) {
+ isArray.assert(a);
+ var aLength = a.length;
+ if (!isArray.check(b) || b.length !== aLength) {
+ if (problemPath) {
+ problemPath.push("length");
+ }
+ return false;
+ }
+ for (var i = 0; i < aLength; ++i) {
+ if (problemPath) {
+ problemPath.push(i);
+ }
+ if (i in a !== i in b) {
+ return false;
+ }
+ if (!areEquivalent(a[i], b[i], problemPath)) {
+ return false;
+ }
+ if (problemPath) {
+ var problemPathTail = problemPath.pop();
+ if (problemPathTail !== i) {
+ throw new Error("" + problemPathTail);
+ }
+ }
+ }
+ return true;
+ }
+ function objectsAreEquivalent(a, b, problemPath) {
+ isObject.assert(a);
+ if (!isObject.check(b)) {
+ return false;
+ }
+ // Fast path for a common property of AST nodes.
+ if (a.type !== b.type) {
+ if (problemPath) {
+ problemPath.push("type");
+ }
+ return false;
+ }
+ var aNames = getFieldNames(a);
+ var aNameCount = aNames.length;
+ var bNames = getFieldNames(b);
+ var bNameCount = bNames.length;
+ if (aNameCount === bNameCount) {
+ for (var i = 0; i < aNameCount; ++i) {
+ var name = aNames[i];
+ var aChild = getFieldValue(a, name);
+ var bChild = getFieldValue(b, name);
+ if (problemPath) {
+ problemPath.push(name);
+ }
+ if (!areEquivalent(aChild, bChild, problemPath)) {
+ return false;
+ }
+ if (problemPath) {
+ var problemPathTail = problemPath.pop();
+ if (problemPathTail !== name) {
+ throw new Error("" + problemPathTail);
+ }
+ }
+ }
+ return true;
+ }
+ if (!problemPath) {
+ return false;
+ }
+ // Since aNameCount !== bNameCount, we need to find some name that's
+ // missing in aNames but present in bNames, or vice-versa.
+ var seenNames = Object.create(null);
+ for (i = 0; i < aNameCount; ++i) {
+ seenNames[aNames[i]] = true;
+ }
+ for (i = 0; i < bNameCount; ++i) {
+ name = bNames[i];
+ if (!hasOwn.call(seenNames, name)) {
+ problemPath.push(name);
+ return false;
+ }
+ delete seenNames[name];
+ }
+ for (name in seenNames) {
+ problemPath.push(name);
+ break;
+ }
+ return false;
+ }
+ return astNodesAreEquivalent;
+}
+exports.default = default_1;
+;
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=equiv.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/equiv.js.map b/tools/ui/node_modules/ast-types/lib/equiv.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..04ed5f90e149c02e44a1981c5eb352553047fc89
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/equiv.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"equiv.js","sourceRoot":"","sources":["../src/equiv.ts"],"names":[],"mappings":";;;AAAA,mCAAiD;AACjD,0DAA4C;AAE5C,mBAAyB,IAAU;IAC/B,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,eAAW,CAAC,CAAC;IAClC,IAAI,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;IACxC,IAAI,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;IACxC,IAAI,OAAO,GAAG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC;IACvC,IAAI,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC;IACzC,IAAI,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC;IACrC,IAAI,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC;IACzC,IAAI,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;IAE7C,SAAS,qBAAqB,CAAC,CAAM,EAAE,CAAM,EAAE,WAAiB;QAC5D,IAAI,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE;YAC5B,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC;SAC1B;aAAM;YACH,WAAW,GAAG,IAAI,CAAC;SACtB;QAED,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAED,qBAAqB,CAAC,MAAM,GAAG,UAAU,CAAM,EAAE,CAAM;QACnD,IAAI,WAAW,GAAU,EAAE,CAAC;QAC5B,IAAI,CAAC,qBAAqB,CAAC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AAK,CAAC,EAAE,GAAG,eAAe,CAAC,CAAC;qBACzC;iBACJ;aACJ;YAED,OAAO,IAAI,CAAC;SACf;QAED,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,KAAK,CAAC;SAChB;QAED,oEAAoE;QACpE,0DAA0D;QAE1D,IAAI,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEpC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,EAAE,CAAC,EAAE;YAC7B,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;SAC/B;QAED,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,EAAE,CAAC,EAAE;YAC7B,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;YAEjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE;gBAC/B,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACvB,OAAO,KAAK,CAAC;aAChB;YAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;SAC1B;QAED,KAAK,IAAI,IAAI,SAAS,EAAE;YACpB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,MAAM;SACT;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,qBAAqB,CAAC;AACjC,CAAC;AAzLD,4BAyLC;AAAA,CAAC;AAEF,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/fork.d.ts b/tools/ui/node_modules/ast-types/lib/fork.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..020adaaf50a9db8ad51ec3c26647352bd16dde00
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/fork.d.ts
@@ -0,0 +1,43 @@
+import { Plugin } from "./types";
+export default function (plugins: Plugin[]): {
+ Type: {
+ or(...types: any[]): import("./types").Type;
+ from(value: any, name?: string | undefined): import("./types").Type;
+ def(typeName: string): import("./types").Def;
+ hasDef(typeName: string): boolean;
+ };
+ builtInTypes: {
+ string: import("./types").Type;
+ function: import("./types").Type;
+ array: import("./types").Type;
+ object: import("./types").Type<{
+ [key: string]: any;
+ }>;
+ RegExp: import("./types").Type;
+ Date: import("./types").Type;
+ number: import("./types").Type;
+ boolean: import("./types").Type;
+ null: import("./types").Type;
+ undefined: import("./types").Type;
+ BigInt: import("./types").Type;
+ };
+ namedTypes: import("./gen/namedTypes").NamedTypes;
+ builders: import("./gen/builders").builders;
+ defineMethod: (name: any, func?: Function | undefined) => Function;
+ getFieldNames: (object: any) => string[];
+ getFieldValue: (object: any, fieldName: any) => any;
+ eachField: (object: any, callback: (name: any, value: any) => any, context?: any) => void;
+ someField: (object: any, callback: (name: any, value: any) => any, context?: any) => boolean;
+ getSupertypeNames: (typeName: string) => string[];
+ getBuilderName: (typeName: any) => any;
+ astNodesAreEquivalent: {
+ (a: any, b: any, problemPath?: any): boolean;
+ assert(a: any, b: any): void;
+ };
+ finalize: () => void;
+ Path: import("./path").PathConstructor;
+ NodePath: import("./node-path").NodePathConstructor;
+ PathVisitor: import("./path-visitor").PathVisitorConstructor;
+ use: (plugin: Plugin) => T_1;
+ visit: (node: import("./types").ASTNode, methods?: import("./main").Visitor | undefined) => any;
+};
diff --git a/tools/ui/node_modules/ast-types/lib/fork.js b/tools/ui/node_modules/ast-types/lib/fork.js
new file mode 100644
index 0000000000000000000000000000000000000000..3ee3fd8b5d71e96eef9f5e2db689abea12598dd2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/fork.js
@@ -0,0 +1,55 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var types_1 = tslib_1.__importDefault(require("./types"));
+var path_visitor_1 = tslib_1.__importDefault(require("./path-visitor"));
+var equiv_1 = tslib_1.__importDefault(require("./equiv"));
+var path_1 = tslib_1.__importDefault(require("./path"));
+var node_path_1 = tslib_1.__importDefault(require("./node-path"));
+var shared_1 = require("./shared");
+function default_1(plugins) {
+ var fork = createFork();
+ var types = fork.use(types_1.default);
+ plugins.forEach(fork.use);
+ types.finalize();
+ var PathVisitor = fork.use(path_visitor_1.default);
+ return {
+ Type: types.Type,
+ builtInTypes: types.builtInTypes,
+ namedTypes: types.namedTypes,
+ builders: types.builders,
+ defineMethod: types.defineMethod,
+ getFieldNames: types.getFieldNames,
+ getFieldValue: types.getFieldValue,
+ eachField: types.eachField,
+ someField: types.someField,
+ getSupertypeNames: types.getSupertypeNames,
+ getBuilderName: types.getBuilderName,
+ astNodesAreEquivalent: fork.use(equiv_1.default),
+ finalize: types.finalize,
+ Path: fork.use(path_1.default),
+ NodePath: fork.use(node_path_1.default),
+ PathVisitor: PathVisitor,
+ use: fork.use,
+ visit: PathVisitor.visit,
+ };
+}
+exports.default = default_1;
+;
+function createFork() {
+ var used = [];
+ var usedResult = [];
+ function use(plugin) {
+ var idx = used.indexOf(plugin);
+ if (idx === -1) {
+ idx = used.length;
+ used.push(plugin);
+ usedResult[idx] = plugin(fork);
+ }
+ return usedResult[idx];
+ }
+ var fork = { use: use };
+ return fork;
+}
+(0, shared_1.maybeSetModuleExports)(function () { return module; });
+//# sourceMappingURL=fork.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/fork.js.map b/tools/ui/node_modules/ast-types/lib/fork.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..00a90f71da00024083cd836f0c12a41a2b007bf2
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/fork.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"fork.js","sourceRoot":"","sources":["../src/fork.ts"],"names":[],"mappings":";;;AAAA,0DAAkC;AAClC,wEAA+C;AAC/C,0DAAkC;AAClC,wDAAgC;AAChC,kEAAyC;AAEzC,mCAAiD;AAEjD,mBAAyB,OAAsB;IAC7C,I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QAC/B,IAAI,GAAG,KAAK,CAAC,CAAC,EAAE;YACd,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC;YAClB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAClB,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;SAChC;QACD,OAAO,UAAU,CAAC,GAAG,CAAM,CAAC;IAC9B,CAAC;IAED,IAAI,IAAI,GAAS,EAAE,GAAG,KAAA,EAAE,CAAC;IAEzB,OAAO,IAAI,CAAC;AACd,CAAC;AAED,IAAA,8BAAqB,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/gen/builders.d.ts b/tools/ui/node_modules/ast-types/lib/gen/builders.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1773656ab7fd5ec8d66b53ad995d1adb8a0ae99f
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/builders.d.ts
@@ -0,0 +1,2850 @@
+import * as K from "./kinds";
+import { namedTypes } from "./namedTypes";
+export interface FileBuilder {
+ (program: K.ProgramKind, name?: string | null): namedTypes.File;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name?: string | null;
+ program: K.ProgramKind;
+ }): namedTypes.File;
+}
+export interface ProgramBuilder {
+ (body: K.StatementKind[]): namedTypes.Program;
+ from(params: {
+ body: K.StatementKind[];
+ comments?: K.CommentKind[] | null;
+ directives?: K.DirectiveKind[];
+ interpreter?: K.InterpreterDirectiveKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Program;
+}
+export interface IdentifierBuilder {
+ (name: string): namedTypes.Identifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: string;
+ optional?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }): namedTypes.Identifier;
+}
+export interface BlockStatementBuilder {
+ (body: K.StatementKind[]): namedTypes.BlockStatement;
+ from(params: {
+ body: K.StatementKind[];
+ comments?: K.CommentKind[] | null;
+ directives?: K.DirectiveKind[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.BlockStatement;
+}
+export interface EmptyStatementBuilder {
+ (): namedTypes.EmptyStatement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.EmptyStatement;
+}
+export interface ExpressionStatementBuilder {
+ (expression: K.ExpressionKind): namedTypes.ExpressionStatement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExpressionStatement;
+}
+export interface IfStatementBuilder {
+ (test: K.ExpressionKind, consequent: K.StatementKind, alternate?: K.StatementKind | null): namedTypes.IfStatement;
+ from(params: {
+ alternate?: K.StatementKind | null;
+ comments?: K.CommentKind[] | null;
+ consequent: K.StatementKind;
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind;
+ }): namedTypes.IfStatement;
+}
+export interface LabeledStatementBuilder {
+ (label: K.IdentifierKind, body: K.StatementKind): namedTypes.LabeledStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ label: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.LabeledStatement;
+}
+export interface BreakStatementBuilder {
+ (label?: K.IdentifierKind | null): namedTypes.BreakStatement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ label?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.BreakStatement;
+}
+export interface ContinueStatementBuilder {
+ (label?: K.IdentifierKind | null): namedTypes.ContinueStatement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ label?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ContinueStatement;
+}
+export interface WithStatementBuilder {
+ (object: K.ExpressionKind, body: K.StatementKind): namedTypes.WithStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ object: K.ExpressionKind;
+ }): namedTypes.WithStatement;
+}
+export interface SwitchStatementBuilder {
+ (discriminant: K.ExpressionKind, cases: K.SwitchCaseKind[], lexical?: boolean): namedTypes.SwitchStatement;
+ from(params: {
+ cases: K.SwitchCaseKind[];
+ comments?: K.CommentKind[] | null;
+ discriminant: K.ExpressionKind;
+ lexical?: boolean;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SwitchStatement;
+}
+export interface SwitchCaseBuilder {
+ (test: K.ExpressionKind | null, consequent: K.StatementKind[]): namedTypes.SwitchCase;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ consequent: K.StatementKind[];
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind | null;
+ }): namedTypes.SwitchCase;
+}
+export interface ReturnStatementBuilder {
+ (argument: K.ExpressionKind | null): namedTypes.ReturnStatement;
+ from(params: {
+ argument: K.ExpressionKind | null;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ReturnStatement;
+}
+export interface ThrowStatementBuilder {
+ (argument: K.ExpressionKind): namedTypes.ThrowStatement;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ThrowStatement;
+}
+export interface TryStatementBuilder {
+ (block: K.BlockStatementKind, handler?: K.CatchClauseKind | null, finalizer?: K.BlockStatementKind | null): namedTypes.TryStatement;
+ from(params: {
+ block: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ finalizer?: K.BlockStatementKind | null;
+ guardedHandlers?: K.CatchClauseKind[];
+ handler?: K.CatchClauseKind | null;
+ handlers?: K.CatchClauseKind[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TryStatement;
+}
+export interface CatchClauseBuilder {
+ (param: K.PatternKind | null | undefined, guard: K.ExpressionKind | null | undefined, body: K.BlockStatementKind): namedTypes.CatchClause;
+ from(params: {
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ guard?: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ param?: K.PatternKind | null;
+ }): namedTypes.CatchClause;
+}
+export interface WhileStatementBuilder {
+ (test: K.ExpressionKind, body: K.StatementKind): namedTypes.WhileStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind;
+ }): namedTypes.WhileStatement;
+}
+export interface DoWhileStatementBuilder {
+ (body: K.StatementKind, test: K.ExpressionKind): namedTypes.DoWhileStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind;
+ }): namedTypes.DoWhileStatement;
+}
+export interface ForStatementBuilder {
+ (init: K.VariableDeclarationKind | K.ExpressionKind | null, test: K.ExpressionKind | null, update: K.ExpressionKind | null, body: K.StatementKind): namedTypes.ForStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ init: K.VariableDeclarationKind | K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind | null;
+ update: K.ExpressionKind | null;
+ }): namedTypes.ForStatement;
+}
+export interface VariableDeclarationBuilder {
+ (kind: "var" | "let" | "const", declarations: (K.VariableDeclaratorKind | K.IdentifierKind)[]): namedTypes.VariableDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ declarations: (K.VariableDeclaratorKind | K.IdentifierKind)[];
+ kind: "var" | "let" | "const";
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.VariableDeclaration;
+}
+export interface ForInStatementBuilder {
+ (left: K.VariableDeclarationKind | K.ExpressionKind, right: K.ExpressionKind, body: K.StatementKind): namedTypes.ForInStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ left: K.VariableDeclarationKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.ExpressionKind;
+ }): namedTypes.ForInStatement;
+}
+export interface DebuggerStatementBuilder {
+ (): namedTypes.DebuggerStatement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.DebuggerStatement;
+}
+export interface FunctionDeclarationBuilder {
+ (id: K.IdentifierKind | null, params: K.PatternKind[], body: K.BlockStatementKind, generator?: boolean, expression?: boolean): namedTypes.FunctionDeclaration;
+ from(params: {
+ async?: boolean;
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ expression?: boolean;
+ generator?: boolean;
+ id: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.FunctionDeclaration;
+}
+export interface FunctionExpressionBuilder {
+ (id: K.IdentifierKind | null | undefined, params: K.PatternKind[], body: K.BlockStatementKind, generator?: boolean, expression?: boolean): namedTypes.FunctionExpression;
+ from(params: {
+ async?: boolean;
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ expression?: boolean;
+ generator?: boolean;
+ id?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.FunctionExpression;
+}
+export interface VariableDeclaratorBuilder {
+ (id: K.PatternKind, init?: K.ExpressionKind | null): namedTypes.VariableDeclarator;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.PatternKind;
+ init?: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.VariableDeclarator;
+}
+export interface ThisExpressionBuilder {
+ (): namedTypes.ThisExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ThisExpression;
+}
+export interface ArrayExpressionBuilder {
+ (elements: (K.ExpressionKind | K.SpreadElementKind | K.RestElementKind | null)[]): namedTypes.ArrayExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elements: (K.ExpressionKind | K.SpreadElementKind | K.RestElementKind | null)[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ArrayExpression;
+}
+export interface ObjectExpressionBuilder {
+ (properties: (K.PropertyKind | K.ObjectMethodKind | K.ObjectPropertyKind | K.SpreadPropertyKind | K.SpreadElementKind)[]): namedTypes.ObjectExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ properties: (K.PropertyKind | K.ObjectMethodKind | K.ObjectPropertyKind | K.SpreadPropertyKind | K.SpreadElementKind)[];
+ }): namedTypes.ObjectExpression;
+}
+export interface PropertyBuilder {
+ (kind: "init" | "get" | "set", key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, value: K.ExpressionKind | K.PatternKind): namedTypes.Property;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ kind: "init" | "get" | "set";
+ loc?: K.SourceLocationKind | null;
+ method?: boolean;
+ shorthand?: boolean;
+ value: K.ExpressionKind | K.PatternKind;
+ }): namedTypes.Property;
+}
+export interface LiteralBuilder {
+ (value: string | boolean | null | number | RegExp | BigInt): namedTypes.Literal;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value: string | boolean | null | number | RegExp | BigInt;
+ }): namedTypes.Literal;
+}
+export interface SequenceExpressionBuilder {
+ (expressions: K.ExpressionKind[]): namedTypes.SequenceExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expressions: K.ExpressionKind[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SequenceExpression;
+}
+export interface UnaryExpressionBuilder {
+ (operator: "-" | "+" | "!" | "~" | "typeof" | "void" | "delete", argument: K.ExpressionKind, prefix?: boolean): namedTypes.UnaryExpression;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ operator: "-" | "+" | "!" | "~" | "typeof" | "void" | "delete";
+ prefix?: boolean;
+ }): namedTypes.UnaryExpression;
+}
+export interface BinaryExpressionBuilder {
+ (operator: "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "&" | "|" | "^" | "in" | "instanceof" | "**", left: K.ExpressionKind, right: K.ExpressionKind): namedTypes.BinaryExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ left: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ operator: "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "&" | "|" | "^" | "in" | "instanceof" | "**";
+ right: K.ExpressionKind;
+ }): namedTypes.BinaryExpression;
+}
+export interface AssignmentExpressionBuilder {
+ (operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??=", left: K.PatternKind | K.MemberExpressionKind, right: K.ExpressionKind): namedTypes.AssignmentExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ left: K.PatternKind | K.MemberExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??=";
+ right: K.ExpressionKind;
+ }): namedTypes.AssignmentExpression;
+}
+export interface MemberExpressionBuilder {
+ (object: K.ExpressionKind, property: K.IdentifierKind | K.ExpressionKind, computed?: boolean): namedTypes.MemberExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ loc?: K.SourceLocationKind | null;
+ object: K.ExpressionKind;
+ optional?: boolean;
+ property: K.IdentifierKind | K.ExpressionKind;
+ }): namedTypes.MemberExpression;
+}
+export interface UpdateExpressionBuilder {
+ (operator: "++" | "--", argument: K.ExpressionKind, prefix: boolean): namedTypes.UpdateExpression;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ operator: "++" | "--";
+ prefix: boolean;
+ }): namedTypes.UpdateExpression;
+}
+export interface LogicalExpressionBuilder {
+ (operator: "||" | "&&" | "??", left: K.ExpressionKind, right: K.ExpressionKind): namedTypes.LogicalExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ left: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ operator: "||" | "&&" | "??";
+ right: K.ExpressionKind;
+ }): namedTypes.LogicalExpression;
+}
+export interface ConditionalExpressionBuilder {
+ (test: K.ExpressionKind, consequent: K.ExpressionKind, alternate: K.ExpressionKind): namedTypes.ConditionalExpression;
+ from(params: {
+ alternate: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ consequent: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ test: K.ExpressionKind;
+ }): namedTypes.ConditionalExpression;
+}
+export interface NewExpressionBuilder {
+ (callee: K.ExpressionKind, argumentsParam: (K.ExpressionKind | K.SpreadElementKind)[]): namedTypes.NewExpression;
+ from(params: {
+ arguments: (K.ExpressionKind | K.SpreadElementKind)[];
+ callee: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeArguments?: null | K.TypeParameterInstantiationKind;
+ }): namedTypes.NewExpression;
+}
+export interface CallExpressionBuilder {
+ (callee: K.ExpressionKind, argumentsParam: (K.ExpressionKind | K.SpreadElementKind)[]): namedTypes.CallExpression;
+ from(params: {
+ arguments: (K.ExpressionKind | K.SpreadElementKind)[];
+ callee: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ typeArguments?: null | K.TypeParameterInstantiationKind;
+ }): namedTypes.CallExpression;
+}
+export interface RestElementBuilder {
+ (argument: K.PatternKind): namedTypes.RestElement;
+ from(params: {
+ argument: K.PatternKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }): namedTypes.RestElement;
+}
+export interface TypeAnnotationBuilder {
+ (typeAnnotation: K.FlowTypeKind): namedTypes.TypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.FlowTypeKind;
+ }): namedTypes.TypeAnnotation;
+}
+export interface TSTypeAnnotationBuilder {
+ (typeAnnotation: K.TSTypeKind | K.TSTypeAnnotationKind): namedTypes.TSTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind | K.TSTypeAnnotationKind;
+ }): namedTypes.TSTypeAnnotation;
+}
+export interface SpreadElementPatternBuilder {
+ (argument: K.PatternKind): namedTypes.SpreadElementPattern;
+ from(params: {
+ argument: K.PatternKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SpreadElementPattern;
+}
+export interface ArrowFunctionExpressionBuilder {
+ (params: K.PatternKind[], body: K.BlockStatementKind | K.ExpressionKind, expression?: boolean): namedTypes.ArrowFunctionExpression;
+ from(params: {
+ async?: boolean;
+ body: K.BlockStatementKind | K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ expression?: boolean;
+ generator?: false;
+ id?: null;
+ loc?: K.SourceLocationKind | null;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ArrowFunctionExpression;
+}
+export interface ForOfStatementBuilder {
+ (left: K.VariableDeclarationKind | K.PatternKind, right: K.ExpressionKind, body: K.StatementKind): namedTypes.ForOfStatement;
+ from(params: {
+ await?: boolean;
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ left: K.VariableDeclarationKind | K.PatternKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.ExpressionKind;
+ }): namedTypes.ForOfStatement;
+}
+export interface YieldExpressionBuilder {
+ (argument: K.ExpressionKind | null, delegate?: boolean): namedTypes.YieldExpression;
+ from(params: {
+ argument: K.ExpressionKind | null;
+ comments?: K.CommentKind[] | null;
+ delegate?: boolean;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.YieldExpression;
+}
+export interface GeneratorExpressionBuilder {
+ (body: K.ExpressionKind, blocks: K.ComprehensionBlockKind[], filter: K.ExpressionKind | null): namedTypes.GeneratorExpression;
+ from(params: {
+ blocks: K.ComprehensionBlockKind[];
+ body: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ filter: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.GeneratorExpression;
+}
+export interface ComprehensionBlockBuilder {
+ (left: K.PatternKind, right: K.ExpressionKind, each: boolean): namedTypes.ComprehensionBlock;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ each: boolean;
+ left: K.PatternKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.ExpressionKind;
+ }): namedTypes.ComprehensionBlock;
+}
+export interface ComprehensionExpressionBuilder {
+ (body: K.ExpressionKind, blocks: K.ComprehensionBlockKind[], filter: K.ExpressionKind | null): namedTypes.ComprehensionExpression;
+ from(params: {
+ blocks: K.ComprehensionBlockKind[];
+ body: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ filter: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ComprehensionExpression;
+}
+export interface ObjectPropertyBuilder {
+ (key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, value: K.ExpressionKind | K.PatternKind): namedTypes.ObjectProperty;
+ from(params: {
+ accessibility?: K.LiteralKind | null;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ shorthand?: boolean;
+ value: K.ExpressionKind | K.PatternKind;
+ }): namedTypes.ObjectProperty;
+}
+export interface PropertyPatternBuilder {
+ (key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, pattern: K.PatternKind): namedTypes.PropertyPattern;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ pattern: K.PatternKind;
+ }): namedTypes.PropertyPattern;
+}
+export interface ObjectPatternBuilder {
+ (properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind | K.RestElementKind)[]): namedTypes.ObjectPattern;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ decorators?: K.DecoratorKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind | K.RestElementKind)[];
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }): namedTypes.ObjectPattern;
+}
+export interface ArrayPatternBuilder {
+ (elements: (K.PatternKind | K.SpreadElementKind | null)[]): namedTypes.ArrayPattern;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elements: (K.PatternKind | K.SpreadElementKind | null)[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ArrayPattern;
+}
+export interface SpreadElementBuilder {
+ (argument: K.ExpressionKind): namedTypes.SpreadElement;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SpreadElement;
+}
+export interface AssignmentPatternBuilder {
+ (left: K.PatternKind, right: K.ExpressionKind): namedTypes.AssignmentPattern;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ left: K.PatternKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.ExpressionKind;
+ }): namedTypes.AssignmentPattern;
+}
+export interface MethodDefinitionBuilder {
+ (kind: "constructor" | "method" | "get" | "set", key: K.ExpressionKind, value: K.FunctionKind, staticParam?: boolean): namedTypes.MethodDefinition;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ key: K.ExpressionKind;
+ kind: "constructor" | "method" | "get" | "set";
+ loc?: K.SourceLocationKind | null;
+ static?: boolean;
+ value: K.FunctionKind;
+ }): namedTypes.MethodDefinition;
+}
+export interface ClassPropertyDefinitionBuilder {
+ (definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.StaticBlockKind): namedTypes.ClassPropertyDefinition;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.StaticBlockKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ClassPropertyDefinition;
+}
+export interface ClassPropertyBuilder {
+ (key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, value: K.ExpressionKind | null, typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null, staticParam?: boolean): namedTypes.ClassProperty;
+ from(params: {
+ access?: "public" | "private" | "protected" | undefined;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ static?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ value: K.ExpressionKind | null;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }): namedTypes.ClassProperty;
+}
+export interface StaticBlockBuilder {
+ (body: K.StatementKind[]): namedTypes.StaticBlock;
+ from(params: {
+ body: K.StatementKind[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.StaticBlock;
+}
+export interface ClassBodyBuilder {
+ (body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassAccessorPropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.StaticBlockKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[]): namedTypes.ClassBody;
+ from(params: {
+ body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassAccessorPropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.StaticBlockKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ClassBody;
+}
+export interface ClassDeclarationBuilder {
+ (id: K.IdentifierKind | null, body: K.ClassBodyKind, superClass?: K.ExpressionKind | null): namedTypes.ClassDeclaration;
+ from(params: {
+ body: K.ClassBodyKind;
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind | null;
+ implements?: K.ClassImplementsKind[] | K.TSExpressionWithTypeArgumentsKind[];
+ loc?: K.SourceLocationKind | null;
+ superClass?: K.ExpressionKind | null;
+ superTypeParameters?: K.TypeParameterInstantiationKind | K.TSTypeParameterInstantiationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ClassDeclaration;
+}
+export interface ClassExpressionBuilder {
+ (id: K.IdentifierKind | null | undefined, body: K.ClassBodyKind, superClass?: K.ExpressionKind | null): namedTypes.ClassExpression;
+ from(params: {
+ body: K.ClassBodyKind;
+ comments?: K.CommentKind[] | null;
+ id?: K.IdentifierKind | null;
+ implements?: K.ClassImplementsKind[] | K.TSExpressionWithTypeArgumentsKind[];
+ loc?: K.SourceLocationKind | null;
+ superClass?: K.ExpressionKind | null;
+ superTypeParameters?: K.TypeParameterInstantiationKind | K.TSTypeParameterInstantiationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ClassExpression;
+}
+export interface SuperBuilder {
+ (): namedTypes.Super;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Super;
+}
+export interface ImportSpecifierBuilder {
+ (imported: K.IdentifierKind, local?: K.IdentifierKind | null): namedTypes.ImportSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id?: K.IdentifierKind | null;
+ imported: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ local?: K.IdentifierKind | null;
+ name?: K.IdentifierKind | null;
+ }): namedTypes.ImportSpecifier;
+}
+export interface ImportDefaultSpecifierBuilder {
+ (local?: K.IdentifierKind | null): namedTypes.ImportDefaultSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ local?: K.IdentifierKind | null;
+ name?: K.IdentifierKind | null;
+ }): namedTypes.ImportDefaultSpecifier;
+}
+export interface ImportNamespaceSpecifierBuilder {
+ (local?: K.IdentifierKind | null): namedTypes.ImportNamespaceSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ local?: K.IdentifierKind | null;
+ name?: K.IdentifierKind | null;
+ }): namedTypes.ImportNamespaceSpecifier;
+}
+export interface ImportDeclarationBuilder {
+ (specifiers: (K.ImportSpecifierKind | K.ImportNamespaceSpecifierKind | K.ImportDefaultSpecifierKind)[] | undefined, source: K.LiteralKind, importKind?: "value" | "type" | "typeof"): namedTypes.ImportDeclaration;
+ from(params: {
+ assertions?: K.ImportAttributeKind[];
+ comments?: K.CommentKind[] | null;
+ importKind?: "value" | "type" | "typeof";
+ loc?: K.SourceLocationKind | null;
+ source: K.LiteralKind;
+ specifiers?: (K.ImportSpecifierKind | K.ImportNamespaceSpecifierKind | K.ImportDefaultSpecifierKind)[];
+ }): namedTypes.ImportDeclaration;
+}
+export interface ExportNamedDeclarationBuilder {
+ (declaration: K.DeclarationKind | null, specifiers?: K.ExportSpecifierKind[], source?: K.LiteralKind | null): namedTypes.ExportNamedDeclaration;
+ from(params: {
+ assertions?: K.ImportAttributeKind[];
+ comments?: K.CommentKind[] | null;
+ declaration: K.DeclarationKind | null;
+ loc?: K.SourceLocationKind | null;
+ source?: K.LiteralKind | null;
+ specifiers?: K.ExportSpecifierKind[];
+ }): namedTypes.ExportNamedDeclaration;
+}
+export interface ExportSpecifierBuilder {
+ (id?: K.IdentifierKind | null, name?: K.IdentifierKind | null): namedTypes.ExportSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ exported: K.IdentifierKind;
+ id?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ local?: K.IdentifierKind | null;
+ name?: K.IdentifierKind | null;
+ }): namedTypes.ExportSpecifier;
+}
+export interface ExportDefaultDeclarationBuilder {
+ (declaration: K.DeclarationKind | K.ExpressionKind): namedTypes.ExportDefaultDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ declaration: K.DeclarationKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExportDefaultDeclaration;
+}
+export interface ExportAllDeclarationBuilder {
+ (source: K.LiteralKind, exported?: K.IdentifierKind | null | undefined): namedTypes.ExportAllDeclaration;
+ from(params: {
+ assertions?: K.ImportAttributeKind[];
+ comments?: K.CommentKind[] | null;
+ exported?: K.IdentifierKind | null | undefined;
+ loc?: K.SourceLocationKind | null;
+ source: K.LiteralKind;
+ }): namedTypes.ExportAllDeclaration;
+}
+export interface TaggedTemplateExpressionBuilder {
+ (tag: K.ExpressionKind, quasi: K.TemplateLiteralKind): namedTypes.TaggedTemplateExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ quasi: K.TemplateLiteralKind;
+ tag: K.ExpressionKind;
+ }): namedTypes.TaggedTemplateExpression;
+}
+export interface TemplateLiteralBuilder {
+ (quasis: K.TemplateElementKind[], expressions: K.ExpressionKind[] | K.TSTypeKind[]): namedTypes.TemplateLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expressions: K.ExpressionKind[] | K.TSTypeKind[];
+ loc?: K.SourceLocationKind | null;
+ quasis: K.TemplateElementKind[];
+ }): namedTypes.TemplateLiteral;
+}
+export interface TemplateElementBuilder {
+ (value: {
+ cooked: string | null;
+ raw: string;
+ }, tail: boolean): namedTypes.TemplateElement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ tail: boolean;
+ value: {
+ cooked: string | null;
+ raw: string;
+ };
+ }): namedTypes.TemplateElement;
+}
+export interface MetaPropertyBuilder {
+ (meta: K.IdentifierKind, property: K.IdentifierKind): namedTypes.MetaProperty;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ meta: K.IdentifierKind;
+ property: K.IdentifierKind;
+ }): namedTypes.MetaProperty;
+}
+export interface AwaitExpressionBuilder {
+ (argument: K.ExpressionKind | null, all?: boolean): namedTypes.AwaitExpression;
+ from(params: {
+ all?: boolean;
+ argument: K.ExpressionKind | null;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.AwaitExpression;
+}
+export interface SpreadPropertyBuilder {
+ (argument: K.ExpressionKind): namedTypes.SpreadProperty;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SpreadProperty;
+}
+export interface SpreadPropertyPatternBuilder {
+ (argument: K.PatternKind): namedTypes.SpreadPropertyPattern;
+ from(params: {
+ argument: K.PatternKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SpreadPropertyPattern;
+}
+export interface ImportExpressionBuilder {
+ (source: K.ExpressionKind): namedTypes.ImportExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ source: K.ExpressionKind;
+ }): namedTypes.ImportExpression;
+}
+export interface ChainExpressionBuilder {
+ (expression: K.ChainElementKind): namedTypes.ChainExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ChainElementKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ChainExpression;
+}
+export interface OptionalCallExpressionBuilder {
+ (callee: K.ExpressionKind, argumentsParam: (K.ExpressionKind | K.SpreadElementKind)[], optional?: boolean): namedTypes.OptionalCallExpression;
+ from(params: {
+ arguments: (K.ExpressionKind | K.SpreadElementKind)[];
+ callee: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ typeArguments?: null | K.TypeParameterInstantiationKind;
+ }): namedTypes.OptionalCallExpression;
+}
+export interface OptionalMemberExpressionBuilder {
+ (object: K.ExpressionKind, property: K.IdentifierKind | K.ExpressionKind, computed?: boolean, optional?: boolean): namedTypes.OptionalMemberExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ loc?: K.SourceLocationKind | null;
+ object: K.ExpressionKind;
+ optional?: boolean;
+ property: K.IdentifierKind | K.ExpressionKind;
+ }): namedTypes.OptionalMemberExpression;
+}
+export interface DecoratorBuilder {
+ (expression: K.ExpressionKind): namedTypes.Decorator;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Decorator;
+}
+export interface PrivateNameBuilder {
+ (id: K.IdentifierKind): namedTypes.PrivateName;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.PrivateName;
+}
+export interface ClassPrivatePropertyBuilder {
+ (key: K.PrivateNameKind, value?: K.ExpressionKind | null): namedTypes.ClassPrivateProperty;
+ from(params: {
+ access?: "public" | "private" | "protected" | undefined;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ key: K.PrivateNameKind;
+ loc?: K.SourceLocationKind | null;
+ static?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ value?: K.ExpressionKind | null;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }): namedTypes.ClassPrivateProperty;
+}
+export interface ImportAttributeBuilder {
+ (key: K.IdentifierKind | K.LiteralKind, value: K.ExpressionKind): namedTypes.ImportAttribute;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ key: K.IdentifierKind | K.LiteralKind;
+ loc?: K.SourceLocationKind | null;
+ value: K.ExpressionKind;
+ }): namedTypes.ImportAttribute;
+}
+export interface RecordExpressionBuilder {
+ (properties: (K.ObjectPropertyKind | K.ObjectMethodKind | K.SpreadElementKind)[]): namedTypes.RecordExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ properties: (K.ObjectPropertyKind | K.ObjectMethodKind | K.SpreadElementKind)[];
+ }): namedTypes.RecordExpression;
+}
+export interface ObjectMethodBuilder {
+ (kind: "method" | "get" | "set", key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean): namedTypes.ObjectMethod;
+ from(params: {
+ accessibility?: K.LiteralKind | null;
+ async?: boolean;
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ expression?: boolean;
+ generator?: boolean;
+ id?: K.IdentifierKind | null;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ kind: "method" | "get" | "set";
+ loc?: K.SourceLocationKind | null;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ObjectMethod;
+}
+export interface TupleExpressionBuilder {
+ (elements: (K.ExpressionKind | K.SpreadElementKind | null)[]): namedTypes.TupleExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elements: (K.ExpressionKind | K.SpreadElementKind | null)[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TupleExpression;
+}
+export interface ModuleExpressionBuilder {
+ (body: K.ProgramKind): namedTypes.ModuleExpression;
+ from(params: {
+ body: K.ProgramKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ModuleExpression;
+}
+export interface JSXAttributeBuilder {
+ (name: K.JSXIdentifierKind | K.JSXNamespacedNameKind, value?: K.LiteralKind | K.JSXExpressionContainerKind | K.JSXElementKind | K.JSXFragmentKind | null): namedTypes.JSXAttribute;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind;
+ value?: K.LiteralKind | K.JSXExpressionContainerKind | K.JSXElementKind | K.JSXFragmentKind | null;
+ }): namedTypes.JSXAttribute;
+}
+export interface JSXIdentifierBuilder {
+ (name: string): namedTypes.JSXIdentifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: string;
+ optional?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }): namedTypes.JSXIdentifier;
+}
+export interface JSXNamespacedNameBuilder {
+ (namespace: K.JSXIdentifierKind, name: K.JSXIdentifierKind): namedTypes.JSXNamespacedName;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: K.JSXIdentifierKind;
+ namespace: K.JSXIdentifierKind;
+ }): namedTypes.JSXNamespacedName;
+}
+export interface JSXExpressionContainerBuilder {
+ (expression: K.ExpressionKind | K.JSXEmptyExpressionKind): namedTypes.JSXExpressionContainer;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind | K.JSXEmptyExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXExpressionContainer;
+}
+export interface JSXElementBuilder {
+ (openingElement: K.JSXOpeningElementKind, closingElement?: K.JSXClosingElementKind | null, children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[]): namedTypes.JSXElement;
+ from(params: {
+ attributes?: (K.JSXAttributeKind | K.JSXSpreadAttributeKind)[];
+ children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[];
+ closingElement?: K.JSXClosingElementKind | null;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name?: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ openingElement: K.JSXOpeningElementKind;
+ selfClosing?: boolean;
+ }): namedTypes.JSXElement;
+}
+export interface JSXFragmentBuilder {
+ (openingFragment: K.JSXOpeningFragmentKind, closingFragment: K.JSXClosingFragmentKind, children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[]): namedTypes.JSXFragment;
+ from(params: {
+ children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[];
+ closingFragment: K.JSXClosingFragmentKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ openingFragment: K.JSXOpeningFragmentKind;
+ }): namedTypes.JSXFragment;
+}
+export interface JSXMemberExpressionBuilder {
+ (object: K.JSXIdentifierKind | K.JSXMemberExpressionKind, property: K.JSXIdentifierKind): namedTypes.JSXMemberExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ loc?: K.SourceLocationKind | null;
+ object: K.JSXIdentifierKind | K.JSXMemberExpressionKind;
+ optional?: boolean;
+ property: K.JSXIdentifierKind;
+ }): namedTypes.JSXMemberExpression;
+}
+export interface JSXSpreadAttributeBuilder {
+ (argument: K.ExpressionKind): namedTypes.JSXSpreadAttribute;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXSpreadAttribute;
+}
+export interface JSXEmptyExpressionBuilder {
+ (): namedTypes.JSXEmptyExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXEmptyExpression;
+}
+export interface JSXTextBuilder {
+ (value: string, raw?: string): namedTypes.JSXText;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw?: string;
+ value: string;
+ }): namedTypes.JSXText;
+}
+export interface JSXSpreadChildBuilder {
+ (expression: K.ExpressionKind): namedTypes.JSXSpreadChild;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXSpreadChild;
+}
+export interface JSXOpeningElementBuilder {
+ (name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind, attributes?: (K.JSXAttributeKind | K.JSXSpreadAttributeKind)[], selfClosing?: boolean): namedTypes.JSXOpeningElement;
+ from(params: {
+ attributes?: (K.JSXAttributeKind | K.JSXSpreadAttributeKind)[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ selfClosing?: boolean;
+ }): namedTypes.JSXOpeningElement;
+}
+export interface JSXClosingElementBuilder {
+ (name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind): namedTypes.JSXClosingElement;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ }): namedTypes.JSXClosingElement;
+}
+export interface JSXOpeningFragmentBuilder {
+ (): namedTypes.JSXOpeningFragment;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXOpeningFragment;
+}
+export interface JSXClosingFragmentBuilder {
+ (): namedTypes.JSXClosingFragment;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.JSXClosingFragment;
+}
+export interface TypeParameterDeclarationBuilder {
+ (params: K.TypeParameterKind[]): namedTypes.TypeParameterDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.TypeParameterKind[];
+ }): namedTypes.TypeParameterDeclaration;
+}
+export interface TSTypeParameterDeclarationBuilder {
+ (params: K.TSTypeParameterKind[]): namedTypes.TSTypeParameterDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.TSTypeParameterKind[];
+ }): namedTypes.TSTypeParameterDeclaration;
+}
+export interface TypeParameterInstantiationBuilder {
+ (params: K.FlowTypeKind[]): namedTypes.TypeParameterInstantiation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.FlowTypeKind[];
+ }): namedTypes.TypeParameterInstantiation;
+}
+export interface TSTypeParameterInstantiationBuilder {
+ (params: K.TSTypeKind[]): namedTypes.TSTypeParameterInstantiation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.TSTypeKind[];
+ }): namedTypes.TSTypeParameterInstantiation;
+}
+export interface ClassImplementsBuilder {
+ (id: K.IdentifierKind): namedTypes.ClassImplements;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ superClass?: K.ExpressionKind | null;
+ typeParameters?: K.TypeParameterInstantiationKind | null;
+ }): namedTypes.ClassImplements;
+}
+export interface TSExpressionWithTypeArgumentsBuilder {
+ (expression: K.IdentifierKind | K.TSQualifiedNameKind, typeParameters?: K.TSTypeParameterInstantiationKind | null): namedTypes.TSExpressionWithTypeArguments;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.IdentifierKind | K.TSQualifiedNameKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
+ }): namedTypes.TSExpressionWithTypeArguments;
+}
+export interface AnyTypeAnnotationBuilder {
+ (): namedTypes.AnyTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.AnyTypeAnnotation;
+}
+export interface EmptyTypeAnnotationBuilder {
+ (): namedTypes.EmptyTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.EmptyTypeAnnotation;
+}
+export interface MixedTypeAnnotationBuilder {
+ (): namedTypes.MixedTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.MixedTypeAnnotation;
+}
+export interface VoidTypeAnnotationBuilder {
+ (): namedTypes.VoidTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.VoidTypeAnnotation;
+}
+export interface SymbolTypeAnnotationBuilder {
+ (): namedTypes.SymbolTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.SymbolTypeAnnotation;
+}
+export interface NumberTypeAnnotationBuilder {
+ (): namedTypes.NumberTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.NumberTypeAnnotation;
+}
+export interface BigIntTypeAnnotationBuilder {
+ (): namedTypes.BigIntTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.BigIntTypeAnnotation;
+}
+export interface NumberLiteralTypeAnnotationBuilder {
+ (value: number, raw: string): namedTypes.NumberLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw: string;
+ value: number;
+ }): namedTypes.NumberLiteralTypeAnnotation;
+}
+export interface NumericLiteralTypeAnnotationBuilder {
+ (value: number, raw: string): namedTypes.NumericLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw: string;
+ value: number;
+ }): namedTypes.NumericLiteralTypeAnnotation;
+}
+export interface BigIntLiteralTypeAnnotationBuilder {
+ (value: null, raw: string): namedTypes.BigIntLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw: string;
+ value: null;
+ }): namedTypes.BigIntLiteralTypeAnnotation;
+}
+export interface StringTypeAnnotationBuilder {
+ (): namedTypes.StringTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.StringTypeAnnotation;
+}
+export interface StringLiteralTypeAnnotationBuilder {
+ (value: string, raw: string): namedTypes.StringLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw: string;
+ value: string;
+ }): namedTypes.StringLiteralTypeAnnotation;
+}
+export interface BooleanTypeAnnotationBuilder {
+ (): namedTypes.BooleanTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.BooleanTypeAnnotation;
+}
+export interface BooleanLiteralTypeAnnotationBuilder {
+ (value: boolean, raw: string): namedTypes.BooleanLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ raw: string;
+ value: boolean;
+ }): namedTypes.BooleanLiteralTypeAnnotation;
+}
+export interface NullableTypeAnnotationBuilder {
+ (typeAnnotation: K.FlowTypeKind): namedTypes.NullableTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.FlowTypeKind;
+ }): namedTypes.NullableTypeAnnotation;
+}
+export interface NullLiteralTypeAnnotationBuilder {
+ (): namedTypes.NullLiteralTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.NullLiteralTypeAnnotation;
+}
+export interface NullTypeAnnotationBuilder {
+ (): namedTypes.NullTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.NullTypeAnnotation;
+}
+export interface ThisTypeAnnotationBuilder {
+ (): namedTypes.ThisTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ThisTypeAnnotation;
+}
+export interface ExistsTypeAnnotationBuilder {
+ (): namedTypes.ExistsTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExistsTypeAnnotation;
+}
+export interface ExistentialTypeParamBuilder {
+ (): namedTypes.ExistentialTypeParam;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExistentialTypeParam;
+}
+export interface FunctionTypeAnnotationBuilder {
+ (params: K.FunctionTypeParamKind[], returnType: K.FlowTypeKind, rest: K.FunctionTypeParamKind | null, typeParameters: K.TypeParameterDeclarationKind | null): namedTypes.FunctionTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.FunctionTypeParamKind[];
+ rest: K.FunctionTypeParamKind | null;
+ returnType: K.FlowTypeKind;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.FunctionTypeAnnotation;
+}
+export interface FunctionTypeParamBuilder {
+ (name: K.IdentifierKind | null, typeAnnotation: K.FlowTypeKind, optional: boolean): namedTypes.FunctionTypeParam;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: K.IdentifierKind | null;
+ optional: boolean;
+ typeAnnotation: K.FlowTypeKind;
+ }): namedTypes.FunctionTypeParam;
+}
+export interface ArrayTypeAnnotationBuilder {
+ (elementType: K.FlowTypeKind): namedTypes.ArrayTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elementType: K.FlowTypeKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ArrayTypeAnnotation;
+}
+export interface ObjectTypeAnnotationBuilder {
+ (properties: (K.ObjectTypePropertyKind | K.ObjectTypeSpreadPropertyKind)[], indexers?: K.ObjectTypeIndexerKind[], callProperties?: K.ObjectTypeCallPropertyKind[]): namedTypes.ObjectTypeAnnotation;
+ from(params: {
+ callProperties?: K.ObjectTypeCallPropertyKind[];
+ comments?: K.CommentKind[] | null;
+ exact?: boolean;
+ indexers?: K.ObjectTypeIndexerKind[];
+ inexact?: boolean | undefined;
+ internalSlots?: K.ObjectTypeInternalSlotKind[];
+ loc?: K.SourceLocationKind | null;
+ properties: (K.ObjectTypePropertyKind | K.ObjectTypeSpreadPropertyKind)[];
+ }): namedTypes.ObjectTypeAnnotation;
+}
+export interface ObjectTypePropertyBuilder {
+ (key: K.LiteralKind | K.IdentifierKind, value: K.FlowTypeKind, optional: boolean): namedTypes.ObjectTypeProperty;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ key: K.LiteralKind | K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ optional: boolean;
+ value: K.FlowTypeKind;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }): namedTypes.ObjectTypeProperty;
+}
+export interface ObjectTypeSpreadPropertyBuilder {
+ (argument: K.FlowTypeKind): namedTypes.ObjectTypeSpreadProperty;
+ from(params: {
+ argument: K.FlowTypeKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ObjectTypeSpreadProperty;
+}
+export interface ObjectTypeIndexerBuilder {
+ (id: K.IdentifierKind, key: K.FlowTypeKind, value: K.FlowTypeKind): namedTypes.ObjectTypeIndexer;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ key: K.FlowTypeKind;
+ loc?: K.SourceLocationKind | null;
+ static?: boolean;
+ value: K.FlowTypeKind;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }): namedTypes.ObjectTypeIndexer;
+}
+export interface ObjectTypeCallPropertyBuilder {
+ (value: K.FunctionTypeAnnotationKind): namedTypes.ObjectTypeCallProperty;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ static?: boolean;
+ value: K.FunctionTypeAnnotationKind;
+ }): namedTypes.ObjectTypeCallProperty;
+}
+export interface ObjectTypeInternalSlotBuilder {
+ (id: K.IdentifierKind, value: K.FlowTypeKind, optional: boolean, staticParam: boolean, method: boolean): namedTypes.ObjectTypeInternalSlot;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ method: boolean;
+ optional: boolean;
+ static: boolean;
+ value: K.FlowTypeKind;
+ }): namedTypes.ObjectTypeInternalSlot;
+}
+export interface VarianceBuilder {
+ (kind: "plus" | "minus"): namedTypes.Variance;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ kind: "plus" | "minus";
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Variance;
+}
+export interface QualifiedTypeIdentifierBuilder {
+ (qualification: K.IdentifierKind | K.QualifiedTypeIdentifierKind, id: K.IdentifierKind): namedTypes.QualifiedTypeIdentifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ qualification: K.IdentifierKind | K.QualifiedTypeIdentifierKind;
+ }): namedTypes.QualifiedTypeIdentifier;
+}
+export interface GenericTypeAnnotationBuilder {
+ (id: K.IdentifierKind | K.QualifiedTypeIdentifierKind, typeParameters: K.TypeParameterInstantiationKind | null): namedTypes.GenericTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind | K.QualifiedTypeIdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters: K.TypeParameterInstantiationKind | null;
+ }): namedTypes.GenericTypeAnnotation;
+}
+export interface MemberTypeAnnotationBuilder {
+ (object: K.IdentifierKind, property: K.MemberTypeAnnotationKind | K.GenericTypeAnnotationKind): namedTypes.MemberTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ object: K.IdentifierKind;
+ property: K.MemberTypeAnnotationKind | K.GenericTypeAnnotationKind;
+ }): namedTypes.MemberTypeAnnotation;
+}
+export interface IndexedAccessTypeBuilder {
+ (objectType: K.FlowTypeKind, indexType: K.FlowTypeKind): namedTypes.IndexedAccessType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ indexType: K.FlowTypeKind;
+ loc?: K.SourceLocationKind | null;
+ objectType: K.FlowTypeKind;
+ }): namedTypes.IndexedAccessType;
+}
+export interface OptionalIndexedAccessTypeBuilder {
+ (objectType: K.FlowTypeKind, indexType: K.FlowTypeKind, optional: boolean): namedTypes.OptionalIndexedAccessType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ indexType: K.FlowTypeKind;
+ loc?: K.SourceLocationKind | null;
+ objectType: K.FlowTypeKind;
+ optional: boolean;
+ }): namedTypes.OptionalIndexedAccessType;
+}
+export interface UnionTypeAnnotationBuilder {
+ (types: K.FlowTypeKind[]): namedTypes.UnionTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ types: K.FlowTypeKind[];
+ }): namedTypes.UnionTypeAnnotation;
+}
+export interface IntersectionTypeAnnotationBuilder {
+ (types: K.FlowTypeKind[]): namedTypes.IntersectionTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ types: K.FlowTypeKind[];
+ }): namedTypes.IntersectionTypeAnnotation;
+}
+export interface TypeofTypeAnnotationBuilder {
+ (argument: K.FlowTypeKind): namedTypes.TypeofTypeAnnotation;
+ from(params: {
+ argument: K.FlowTypeKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TypeofTypeAnnotation;
+}
+export interface TypeParameterBuilder {
+ (name: string, variance?: K.VarianceKind | "plus" | "minus" | null, bound?: K.TypeAnnotationKind | null, defaultParam?: K.FlowTypeKind | null): namedTypes.TypeParameter;
+ from(params: {
+ bound?: K.TypeAnnotationKind | null;
+ comments?: K.CommentKind[] | null;
+ default?: K.FlowTypeKind | null;
+ loc?: K.SourceLocationKind | null;
+ name: string;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }): namedTypes.TypeParameter;
+}
+export interface InterfaceTypeAnnotationBuilder {
+ (body: K.ObjectTypeAnnotationKind, extendsParam?: K.InterfaceExtendsKind[] | null): namedTypes.InterfaceTypeAnnotation;
+ from(params: {
+ body: K.ObjectTypeAnnotationKind;
+ comments?: K.CommentKind[] | null;
+ extends?: K.InterfaceExtendsKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.InterfaceTypeAnnotation;
+}
+export interface InterfaceExtendsBuilder {
+ (id: K.IdentifierKind): namedTypes.InterfaceExtends;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TypeParameterInstantiationKind | null;
+ }): namedTypes.InterfaceExtends;
+}
+export interface InterfaceDeclarationBuilder {
+ (id: K.IdentifierKind, body: K.ObjectTypeAnnotationKind, extendsParam: K.InterfaceExtendsKind[]): namedTypes.InterfaceDeclaration;
+ from(params: {
+ body: K.ObjectTypeAnnotationKind;
+ comments?: K.CommentKind[] | null;
+ extends: K.InterfaceExtendsKind[];
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.InterfaceDeclaration;
+}
+export interface DeclareInterfaceBuilder {
+ (id: K.IdentifierKind, body: K.ObjectTypeAnnotationKind, extendsParam: K.InterfaceExtendsKind[]): namedTypes.DeclareInterface;
+ from(params: {
+ body: K.ObjectTypeAnnotationKind;
+ comments?: K.CommentKind[] | null;
+ extends: K.InterfaceExtendsKind[];
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.DeclareInterface;
+}
+export interface TypeAliasBuilder {
+ (id: K.IdentifierKind, typeParameters: K.TypeParameterDeclarationKind | null, right: K.FlowTypeKind): namedTypes.TypeAlias;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.FlowTypeKind;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.TypeAlias;
+}
+export interface DeclareTypeAliasBuilder {
+ (id: K.IdentifierKind, typeParameters: K.TypeParameterDeclarationKind | null, right: K.FlowTypeKind): namedTypes.DeclareTypeAlias;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.FlowTypeKind;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.DeclareTypeAlias;
+}
+export interface OpaqueTypeBuilder {
+ (id: K.IdentifierKind, typeParameters: K.TypeParameterDeclarationKind | null, impltype: K.FlowTypeKind, supertype: K.FlowTypeKind | null): namedTypes.OpaqueType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ impltype: K.FlowTypeKind;
+ loc?: K.SourceLocationKind | null;
+ supertype: K.FlowTypeKind | null;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.OpaqueType;
+}
+export interface DeclareOpaqueTypeBuilder {
+ (id: K.IdentifierKind, typeParameters: K.TypeParameterDeclarationKind | null, supertype: K.FlowTypeKind | null): namedTypes.DeclareOpaqueType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ impltype: K.FlowTypeKind | null;
+ loc?: K.SourceLocationKind | null;
+ supertype: K.FlowTypeKind | null;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.DeclareOpaqueType;
+}
+export interface TypeCastExpressionBuilder {
+ (expression: K.ExpressionKind, typeAnnotation: K.TypeAnnotationKind): namedTypes.TypeCastExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TypeAnnotationKind;
+ }): namedTypes.TypeCastExpression;
+}
+export interface TupleTypeAnnotationBuilder {
+ (types: K.FlowTypeKind[]): namedTypes.TupleTypeAnnotation;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ types: K.FlowTypeKind[];
+ }): namedTypes.TupleTypeAnnotation;
+}
+export interface DeclareVariableBuilder {
+ (id: K.IdentifierKind): namedTypes.DeclareVariable;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.DeclareVariable;
+}
+export interface DeclareFunctionBuilder {
+ (id: K.IdentifierKind): namedTypes.DeclareFunction;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ predicate?: K.FlowPredicateKind | null;
+ }): namedTypes.DeclareFunction;
+}
+export interface DeclareClassBuilder {
+ (id: K.IdentifierKind): namedTypes.DeclareClass;
+ from(params: {
+ body: K.ObjectTypeAnnotationKind;
+ comments?: K.CommentKind[] | null;
+ extends: K.InterfaceExtendsKind[];
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | null;
+ }): namedTypes.DeclareClass;
+}
+export interface DeclareModuleBuilder {
+ (id: K.IdentifierKind | K.LiteralKind, body: K.BlockStatementKind): namedTypes.DeclareModule;
+ from(params: {
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind | K.LiteralKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.DeclareModule;
+}
+export interface DeclareModuleExportsBuilder {
+ (typeAnnotation: K.TypeAnnotationKind): namedTypes.DeclareModuleExports;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TypeAnnotationKind;
+ }): namedTypes.DeclareModuleExports;
+}
+export interface DeclareExportDeclarationBuilder {
+ (defaultParam: boolean, declaration: K.DeclareVariableKind | K.DeclareFunctionKind | K.DeclareClassKind | K.FlowTypeKind | K.TypeAliasKind | K.DeclareOpaqueTypeKind | K.InterfaceDeclarationKind | null, specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[], source?: K.LiteralKind | null): namedTypes.DeclareExportDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ declaration: K.DeclareVariableKind | K.DeclareFunctionKind | K.DeclareClassKind | K.FlowTypeKind | K.TypeAliasKind | K.DeclareOpaqueTypeKind | K.InterfaceDeclarationKind | null;
+ default: boolean;
+ loc?: K.SourceLocationKind | null;
+ source?: K.LiteralKind | null;
+ specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[];
+ }): namedTypes.DeclareExportDeclaration;
+}
+export interface ExportBatchSpecifierBuilder {
+ (): namedTypes.ExportBatchSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExportBatchSpecifier;
+}
+export interface DeclareExportAllDeclarationBuilder {
+ (source?: K.LiteralKind | null): namedTypes.DeclareExportAllDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ source?: K.LiteralKind | null;
+ }): namedTypes.DeclareExportAllDeclaration;
+}
+export interface InferredPredicateBuilder {
+ (): namedTypes.InferredPredicate;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.InferredPredicate;
+}
+export interface DeclaredPredicateBuilder {
+ (value: K.ExpressionKind): namedTypes.DeclaredPredicate;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value: K.ExpressionKind;
+ }): namedTypes.DeclaredPredicate;
+}
+export interface EnumDeclarationBuilder {
+ (id: K.IdentifierKind, body: K.EnumBooleanBodyKind | K.EnumNumberBodyKind | K.EnumStringBodyKind | K.EnumSymbolBodyKind): namedTypes.EnumDeclaration;
+ from(params: {
+ body: K.EnumBooleanBodyKind | K.EnumNumberBodyKind | K.EnumStringBodyKind | K.EnumSymbolBodyKind;
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.EnumDeclaration;
+}
+export interface EnumBooleanBodyBuilder {
+ (members: K.EnumBooleanMemberKind[], explicitType: boolean): namedTypes.EnumBooleanBody;
+ from(params: {
+ explicitType: boolean;
+ members: K.EnumBooleanMemberKind[];
+ }): namedTypes.EnumBooleanBody;
+}
+export interface EnumNumberBodyBuilder {
+ (members: K.EnumNumberMemberKind[], explicitType: boolean): namedTypes.EnumNumberBody;
+ from(params: {
+ explicitType: boolean;
+ members: K.EnumNumberMemberKind[];
+ }): namedTypes.EnumNumberBody;
+}
+export interface EnumStringBodyBuilder {
+ (members: K.EnumStringMemberKind[] | K.EnumDefaultedMemberKind[], explicitType: boolean): namedTypes.EnumStringBody;
+ from(params: {
+ explicitType: boolean;
+ members: K.EnumStringMemberKind[] | K.EnumDefaultedMemberKind[];
+ }): namedTypes.EnumStringBody;
+}
+export interface EnumSymbolBodyBuilder {
+ (members: K.EnumDefaultedMemberKind[]): namedTypes.EnumSymbolBody;
+ from(params: {
+ members: K.EnumDefaultedMemberKind[];
+ }): namedTypes.EnumSymbolBody;
+}
+export interface EnumBooleanMemberBuilder {
+ (id: K.IdentifierKind, init: K.LiteralKind | boolean): namedTypes.EnumBooleanMember;
+ from(params: {
+ id: K.IdentifierKind;
+ init: K.LiteralKind | boolean;
+ }): namedTypes.EnumBooleanMember;
+}
+export interface EnumNumberMemberBuilder {
+ (id: K.IdentifierKind, init: K.LiteralKind): namedTypes.EnumNumberMember;
+ from(params: {
+ id: K.IdentifierKind;
+ init: K.LiteralKind;
+ }): namedTypes.EnumNumberMember;
+}
+export interface EnumStringMemberBuilder {
+ (id: K.IdentifierKind, init: K.LiteralKind): namedTypes.EnumStringMember;
+ from(params: {
+ id: K.IdentifierKind;
+ init: K.LiteralKind;
+ }): namedTypes.EnumStringMember;
+}
+export interface EnumDefaultedMemberBuilder {
+ (id: K.IdentifierKind): namedTypes.EnumDefaultedMember;
+ from(params: {
+ id: K.IdentifierKind;
+ }): namedTypes.EnumDefaultedMember;
+}
+export interface ExportDeclarationBuilder {
+ (defaultParam: boolean, declaration: K.DeclarationKind | K.ExpressionKind | null, specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[], source?: K.LiteralKind | null): namedTypes.ExportDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ declaration: K.DeclarationKind | K.ExpressionKind | null;
+ default: boolean;
+ loc?: K.SourceLocationKind | null;
+ source?: K.LiteralKind | null;
+ specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[];
+ }): namedTypes.ExportDeclaration;
+}
+export interface BlockBuilder {
+ (value: string, leading?: boolean, trailing?: boolean): namedTypes.Block;
+ from(params: {
+ leading?: boolean;
+ loc?: K.SourceLocationKind | null;
+ trailing?: boolean;
+ value: string;
+ }): namedTypes.Block;
+}
+export interface LineBuilder {
+ (value: string, leading?: boolean, trailing?: boolean): namedTypes.Line;
+ from(params: {
+ leading?: boolean;
+ loc?: K.SourceLocationKind | null;
+ trailing?: boolean;
+ value: string;
+ }): namedTypes.Line;
+}
+export interface NoopBuilder {
+ (): namedTypes.Noop;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Noop;
+}
+export interface DoExpressionBuilder {
+ (body: K.StatementKind[]): namedTypes.DoExpression;
+ from(params: {
+ body: K.StatementKind[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.DoExpression;
+}
+export interface BindExpressionBuilder {
+ (object: K.ExpressionKind | null, callee: K.ExpressionKind): namedTypes.BindExpression;
+ from(params: {
+ callee: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ object: K.ExpressionKind | null;
+ }): namedTypes.BindExpression;
+}
+export interface ParenthesizedExpressionBuilder {
+ (expression: K.ExpressionKind): namedTypes.ParenthesizedExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ParenthesizedExpression;
+}
+export interface ExportNamespaceSpecifierBuilder {
+ (exported: K.IdentifierKind): namedTypes.ExportNamespaceSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ exported: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExportNamespaceSpecifier;
+}
+export interface ExportDefaultSpecifierBuilder {
+ (exported: K.IdentifierKind): namedTypes.ExportDefaultSpecifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ exported: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.ExportDefaultSpecifier;
+}
+export interface CommentBlockBuilder {
+ (value: string, leading?: boolean, trailing?: boolean): namedTypes.CommentBlock;
+ from(params: {
+ leading?: boolean;
+ loc?: K.SourceLocationKind | null;
+ trailing?: boolean;
+ value: string;
+ }): namedTypes.CommentBlock;
+}
+export interface CommentLineBuilder {
+ (value: string, leading?: boolean, trailing?: boolean): namedTypes.CommentLine;
+ from(params: {
+ leading?: boolean;
+ loc?: K.SourceLocationKind | null;
+ trailing?: boolean;
+ value: string;
+ }): namedTypes.CommentLine;
+}
+export interface DirectiveBuilder {
+ (value: K.DirectiveLiteralKind): namedTypes.Directive;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value: K.DirectiveLiteralKind;
+ }): namedTypes.Directive;
+}
+export interface DirectiveLiteralBuilder {
+ (value?: string): namedTypes.DirectiveLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value?: string;
+ }): namedTypes.DirectiveLiteral;
+}
+export interface InterpreterDirectiveBuilder {
+ (value: string): namedTypes.InterpreterDirective;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value: string;
+ }): namedTypes.InterpreterDirective;
+}
+export interface StringLiteralBuilder {
+ (value: string): namedTypes.StringLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ loc?: K.SourceLocationKind | null;
+ value: string;
+ }): namedTypes.StringLiteral;
+}
+export interface NumericLiteralBuilder {
+ (value: number): namedTypes.NumericLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ extra?: {
+ rawValue: number;
+ raw: string;
+ };
+ loc?: K.SourceLocationKind | null;
+ raw?: string | null;
+ value: number;
+ }): namedTypes.NumericLiteral;
+}
+export interface BigIntLiteralBuilder {
+ (value: string | number): namedTypes.BigIntLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ loc?: K.SourceLocationKind | null;
+ value: string | number;
+ }): namedTypes.BigIntLiteral;
+}
+export interface DecimalLiteralBuilder {
+ (value: string): namedTypes.DecimalLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ loc?: K.SourceLocationKind | null;
+ value: string;
+ }): namedTypes.DecimalLiteral;
+}
+export interface NullLiteralBuilder {
+ (): namedTypes.NullLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value?: null;
+ }): namedTypes.NullLiteral;
+}
+export interface BooleanLiteralBuilder {
+ (value: boolean): namedTypes.BooleanLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ value: boolean;
+ }): namedTypes.BooleanLiteral;
+}
+export interface RegExpLiteralBuilder {
+ (pattern: string, flags: string): namedTypes.RegExpLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ extra?: {
+ rawValue: RegExp | undefined;
+ raw: string;
+ };
+ flags: string;
+ loc?: K.SourceLocationKind | null;
+ pattern: string;
+ regex?: {
+ pattern: string;
+ flags: string;
+ };
+ value?: RegExp;
+ }): namedTypes.RegExpLiteral;
+}
+export interface ClassMethodBuilder {
+ (kind: "get" | "set" | "method" | "constructor" | undefined, key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean, staticParam?: boolean): namedTypes.ClassMethod;
+ from(params: {
+ abstract?: boolean;
+ access?: "public" | "private" | "protected" | null;
+ accessibility?: "public" | "private" | "protected" | null;
+ async?: boolean;
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ definite?: boolean;
+ expression?: boolean;
+ generator?: boolean;
+ id?: K.IdentifierKind | null;
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ kind?: "get" | "set" | "method" | "constructor";
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ override?: boolean;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ readonly?: boolean;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ static?: boolean;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ClassMethod;
+}
+export interface ClassPrivateMethodBuilder {
+ (key: K.PrivateNameKind, params: K.PatternKind[], body: K.BlockStatementKind, kind?: "get" | "set" | "method" | "constructor", computed?: boolean, staticParam?: boolean): namedTypes.ClassPrivateMethod;
+ from(params: {
+ abstract?: boolean;
+ access?: "public" | "private" | "protected" | null;
+ accessibility?: "public" | "private" | "protected" | null;
+ async?: boolean;
+ body: K.BlockStatementKind;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ defaults?: (K.ExpressionKind | null)[];
+ definite?: boolean;
+ expression?: boolean;
+ generator?: boolean;
+ id?: K.IdentifierKind | null;
+ key: K.PrivateNameKind;
+ kind?: "get" | "set" | "method" | "constructor";
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ override?: boolean;
+ params: K.PatternKind[];
+ predicate?: K.FlowPredicateKind | null;
+ readonly?: boolean;
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ static?: boolean;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ }): namedTypes.ClassPrivateMethod;
+}
+export interface ClassAccessorPropertyBuilder {
+ (key: K.LiteralKind | K.IdentifierKind | K.PrivateNameKind | K.ExpressionKind, value?: K.ExpressionKind | null, decorators?: K.DecoratorKind[] | null, computed?: boolean, staticParam?: boolean): namedTypes.ClassAccessorProperty;
+ from(params: {
+ abstract?: boolean;
+ accessibility?: "public" | "private" | "protected" | null;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ definite?: boolean;
+ key: K.LiteralKind | K.IdentifierKind | K.PrivateNameKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ override?: boolean;
+ readonly?: boolean;
+ static?: boolean;
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ value?: K.ExpressionKind | null;
+ }): namedTypes.ClassAccessorProperty;
+}
+export interface RestPropertyBuilder {
+ (argument: K.ExpressionKind): namedTypes.RestProperty;
+ from(params: {
+ argument: K.ExpressionKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.RestProperty;
+}
+export interface ForAwaitStatementBuilder {
+ (left: K.VariableDeclarationKind | K.ExpressionKind, right: K.ExpressionKind, body: K.StatementKind): namedTypes.ForAwaitStatement;
+ from(params: {
+ body: K.StatementKind;
+ comments?: K.CommentKind[] | null;
+ left: K.VariableDeclarationKind | K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.ExpressionKind;
+ }): namedTypes.ForAwaitStatement;
+}
+export interface ImportBuilder {
+ (): namedTypes.Import;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.Import;
+}
+export interface V8IntrinsicIdentifierBuilder {
+ (name: string): namedTypes.V8IntrinsicIdentifier;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ name: string;
+ }): namedTypes.V8IntrinsicIdentifier;
+}
+export interface TopicReferenceBuilder {
+ (): namedTypes.TopicReference;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TopicReference;
+}
+export interface TSQualifiedNameBuilder {
+ (left: K.IdentifierKind | K.TSQualifiedNameKind, right: K.IdentifierKind | K.TSQualifiedNameKind): namedTypes.TSQualifiedName;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ left: K.IdentifierKind | K.TSQualifiedNameKind;
+ loc?: K.SourceLocationKind | null;
+ right: K.IdentifierKind | K.TSQualifiedNameKind;
+ }): namedTypes.TSQualifiedName;
+}
+export interface TSTypeReferenceBuilder {
+ (typeName: K.IdentifierKind | K.TSQualifiedNameKind, typeParameters?: K.TSTypeParameterInstantiationKind | null): namedTypes.TSTypeReference;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeName: K.IdentifierKind | K.TSQualifiedNameKind;
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
+ }): namedTypes.TSTypeReference;
+}
+export interface TSAsExpressionBuilder {
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSAsExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ extra?: {
+ parenthesized: boolean;
+ } | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSAsExpression;
+}
+export interface TSTypeCastExpressionBuilder {
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSTypeCastExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSTypeCastExpression;
+}
+export interface TSSatisfiesExpressionBuilder {
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSSatisfiesExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSSatisfiesExpression;
+}
+export interface TSNonNullExpressionBuilder {
+ (expression: K.ExpressionKind): namedTypes.TSNonNullExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSNonNullExpression;
+}
+export interface TSAnyKeywordBuilder {
+ (): namedTypes.TSAnyKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSAnyKeyword;
+}
+export interface TSBigIntKeywordBuilder {
+ (): namedTypes.TSBigIntKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSBigIntKeyword;
+}
+export interface TSBooleanKeywordBuilder {
+ (): namedTypes.TSBooleanKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSBooleanKeyword;
+}
+export interface TSNeverKeywordBuilder {
+ (): namedTypes.TSNeverKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSNeverKeyword;
+}
+export interface TSNullKeywordBuilder {
+ (): namedTypes.TSNullKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSNullKeyword;
+}
+export interface TSNumberKeywordBuilder {
+ (): namedTypes.TSNumberKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSNumberKeyword;
+}
+export interface TSObjectKeywordBuilder {
+ (): namedTypes.TSObjectKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSObjectKeyword;
+}
+export interface TSStringKeywordBuilder {
+ (): namedTypes.TSStringKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSStringKeyword;
+}
+export interface TSSymbolKeywordBuilder {
+ (): namedTypes.TSSymbolKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSSymbolKeyword;
+}
+export interface TSUndefinedKeywordBuilder {
+ (): namedTypes.TSUndefinedKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSUndefinedKeyword;
+}
+export interface TSUnknownKeywordBuilder {
+ (): namedTypes.TSUnknownKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSUnknownKeyword;
+}
+export interface TSVoidKeywordBuilder {
+ (): namedTypes.TSVoidKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSVoidKeyword;
+}
+export interface TSIntrinsicKeywordBuilder {
+ (): namedTypes.TSIntrinsicKeyword;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSIntrinsicKeyword;
+}
+export interface TSThisTypeBuilder {
+ (): namedTypes.TSThisType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSThisType;
+}
+export interface TSArrayTypeBuilder {
+ (elementType: K.TSTypeKind): namedTypes.TSArrayType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elementType: K.TSTypeKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSArrayType;
+}
+export interface TSLiteralTypeBuilder {
+ (literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind | K.BigIntLiteralKind): namedTypes.TSLiteralType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind | K.BigIntLiteralKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSLiteralType;
+}
+export interface TSUnionTypeBuilder {
+ (types: K.TSTypeKind[]): namedTypes.TSUnionType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ types: K.TSTypeKind[];
+ }): namedTypes.TSUnionType;
+}
+export interface TSIntersectionTypeBuilder {
+ (types: K.TSTypeKind[]): namedTypes.TSIntersectionType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ types: K.TSTypeKind[];
+ }): namedTypes.TSIntersectionType;
+}
+export interface TSConditionalTypeBuilder {
+ (checkType: K.TSTypeKind, extendsType: K.TSTypeKind, trueType: K.TSTypeKind, falseType: K.TSTypeKind): namedTypes.TSConditionalType;
+ from(params: {
+ checkType: K.TSTypeKind;
+ comments?: K.CommentKind[] | null;
+ extendsType: K.TSTypeKind;
+ falseType: K.TSTypeKind;
+ loc?: K.SourceLocationKind | null;
+ trueType: K.TSTypeKind;
+ }): namedTypes.TSConditionalType;
+}
+export interface TSInferTypeBuilder {
+ (typeParameter: K.TSTypeParameterKind): namedTypes.TSInferType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeParameter: K.TSTypeParameterKind;
+ }): namedTypes.TSInferType;
+}
+export interface TSTypeParameterBuilder {
+ (name: K.IdentifierKind | string, constraint?: K.TSTypeKind | undefined, defaultParam?: K.TSTypeKind | undefined): namedTypes.TSTypeParameter;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ constraint?: K.TSTypeKind | undefined;
+ default?: K.TSTypeKind | undefined;
+ loc?: K.SourceLocationKind | null;
+ name: K.IdentifierKind | string;
+ optional?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }): namedTypes.TSTypeParameter;
+}
+export interface TSParenthesizedTypeBuilder {
+ (typeAnnotation: K.TSTypeKind): namedTypes.TSParenthesizedType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSParenthesizedType;
+}
+export interface TSFunctionTypeBuilder {
+ (parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[]): namedTypes.TSFunctionType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[];
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSFunctionType;
+}
+export interface TSConstructorTypeBuilder {
+ (parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[]): namedTypes.TSConstructorType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[];
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSConstructorType;
+}
+export interface TSDeclareFunctionBuilder {
+ (id: K.IdentifierKind | null | undefined, params: K.PatternKind[], returnType?: K.TSTypeAnnotationKind | K.NoopKind | null): namedTypes.TSDeclareFunction;
+ from(params: {
+ async?: boolean;
+ comments?: K.CommentKind[] | null;
+ declare?: boolean;
+ generator?: boolean;
+ id?: K.IdentifierKind | null;
+ loc?: K.SourceLocationKind | null;
+ params: K.PatternKind[];
+ returnType?: K.TSTypeAnnotationKind | K.NoopKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSDeclareFunction;
+}
+export interface TSDeclareMethodBuilder {
+ (key: K.IdentifierKind | K.StringLiteralKind | K.NumericLiteralKind | K.ExpressionKind, params: K.PatternKind[], returnType?: K.TSTypeAnnotationKind | K.NoopKind | null): namedTypes.TSDeclareMethod;
+ from(params: {
+ abstract?: boolean;
+ access?: "public" | "private" | "protected" | undefined;
+ accessibility?: "public" | "private" | "protected" | undefined;
+ async?: boolean;
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ generator?: boolean;
+ key: K.IdentifierKind | K.StringLiteralKind | K.NumericLiteralKind | K.ExpressionKind;
+ kind?: "get" | "set" | "method" | "constructor";
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ params: K.PatternKind[];
+ returnType?: K.TSTypeAnnotationKind | K.NoopKind | null;
+ static?: boolean;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSDeclareMethod;
+}
+export interface TSMappedTypeBuilder {
+ (typeParameter: K.TSTypeParameterKind, typeAnnotation?: K.TSTypeKind | null): namedTypes.TSMappedType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean | "+" | "-";
+ readonly?: boolean | "+" | "-";
+ typeAnnotation?: K.TSTypeKind | null;
+ typeParameter: K.TSTypeParameterKind;
+ }): namedTypes.TSMappedType;
+}
+export interface TSTupleTypeBuilder {
+ (elementTypes: (K.TSTypeKind | K.TSNamedTupleMemberKind)[]): namedTypes.TSTupleType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elementTypes: (K.TSTypeKind | K.TSNamedTupleMemberKind)[];
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSTupleType;
+}
+export interface TSNamedTupleMemberBuilder {
+ (label: K.IdentifierKind, elementType: K.TSTypeKind, optional?: boolean): namedTypes.TSNamedTupleMember;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ elementType: K.TSTypeKind;
+ label: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ }): namedTypes.TSNamedTupleMember;
+}
+export interface TSRestTypeBuilder {
+ (typeAnnotation: K.TSTypeKind): namedTypes.TSRestType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSRestType;
+}
+export interface TSOptionalTypeBuilder {
+ (typeAnnotation: K.TSTypeKind): namedTypes.TSOptionalType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSOptionalType;
+}
+export interface TSIndexedAccessTypeBuilder {
+ (objectType: K.TSTypeKind, indexType: K.TSTypeKind): namedTypes.TSIndexedAccessType;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ indexType: K.TSTypeKind;
+ loc?: K.SourceLocationKind | null;
+ objectType: K.TSTypeKind;
+ }): namedTypes.TSIndexedAccessType;
+}
+export interface TSTypeOperatorBuilder {
+ (operator: string): namedTypes.TSTypeOperator;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ operator: string;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSTypeOperator;
+}
+export interface TSIndexSignatureBuilder {
+ (parameters: K.IdentifierKind[], typeAnnotation?: K.TSTypeAnnotationKind | null): namedTypes.TSIndexSignature;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameters: K.IdentifierKind[];
+ readonly?: boolean;
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ }): namedTypes.TSIndexSignature;
+}
+export interface TSPropertySignatureBuilder {
+ (key: K.ExpressionKind, typeAnnotation?: K.TSTypeAnnotationKind | null, optional?: boolean): namedTypes.TSPropertySignature;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ initializer?: K.ExpressionKind | null;
+ key: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ readonly?: boolean;
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ }): namedTypes.TSPropertySignature;
+}
+export interface TSMethodSignatureBuilder {
+ (key: K.ExpressionKind, parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[], typeAnnotation?: K.TSTypeAnnotationKind | null): namedTypes.TSMethodSignature;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ computed?: boolean;
+ key: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ optional?: boolean;
+ parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[];
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSMethodSignature;
+}
+export interface TSTypePredicateBuilder {
+ (parameterName: K.IdentifierKind | K.TSThisTypeKind, typeAnnotation?: K.TSTypeAnnotationKind | null, asserts?: boolean): namedTypes.TSTypePredicate;
+ from(params: {
+ asserts?: boolean;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameterName: K.IdentifierKind | K.TSThisTypeKind;
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ }): namedTypes.TSTypePredicate;
+}
+export interface TSCallSignatureDeclarationBuilder {
+ (parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[], typeAnnotation?: K.TSTypeAnnotationKind | null): namedTypes.TSCallSignatureDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[];
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSCallSignatureDeclaration;
+}
+export interface TSConstructSignatureDeclarationBuilder {
+ (parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[], typeAnnotation?: K.TSTypeAnnotationKind | null): namedTypes.TSConstructSignatureDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameters: (K.IdentifierKind | K.RestElementKind | K.ArrayPatternKind | K.ObjectPatternKind)[];
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSConstructSignatureDeclaration;
+}
+export interface TSEnumMemberBuilder {
+ (id: K.IdentifierKind | K.StringLiteralKind, initializer?: K.ExpressionKind | null): namedTypes.TSEnumMember;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind | K.StringLiteralKind;
+ initializer?: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSEnumMember;
+}
+export interface TSTypeQueryBuilder {
+ (exprName: K.IdentifierKind | K.TSQualifiedNameKind | K.TSImportTypeKind): namedTypes.TSTypeQuery;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ exprName: K.IdentifierKind | K.TSQualifiedNameKind | K.TSImportTypeKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSTypeQuery;
+}
+export interface TSImportTypeBuilder {
+ (argument: K.StringLiteralKind, qualifier?: K.IdentifierKind | K.TSQualifiedNameKind | undefined, typeParameters?: K.TSTypeParameterInstantiationKind | null): namedTypes.TSImportType;
+ from(params: {
+ argument: K.StringLiteralKind;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ qualifier?: K.IdentifierKind | K.TSQualifiedNameKind | undefined;
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
+ }): namedTypes.TSImportType;
+}
+export interface TSTypeLiteralBuilder {
+ (members: (K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[]): namedTypes.TSTypeLiteral;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ members: (K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
+ }): namedTypes.TSTypeLiteral;
+}
+export interface TSTypeAssertionBuilder {
+ (typeAnnotation: K.TSTypeKind, expression: K.ExpressionKind): namedTypes.TSTypeAssertion;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ extra?: {
+ parenthesized: boolean;
+ } | null;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ }): namedTypes.TSTypeAssertion;
+}
+export interface TSInstantiationExpressionBuilder {
+ (expression: K.ExpressionKind, typeParameters?: K.TSTypeParameterInstantiationKind | null): namedTypes.TSInstantiationExpression;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
+ }): namedTypes.TSInstantiationExpression;
+}
+export interface TSEnumDeclarationBuilder {
+ (id: K.IdentifierKind, members: K.TSEnumMemberKind[]): namedTypes.TSEnumDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ const?: boolean;
+ declare?: boolean;
+ id: K.IdentifierKind;
+ initializer?: K.ExpressionKind | null;
+ loc?: K.SourceLocationKind | null;
+ members: K.TSEnumMemberKind[];
+ }): namedTypes.TSEnumDeclaration;
+}
+export interface TSTypeAliasDeclarationBuilder {
+ (id: K.IdentifierKind, typeAnnotation: K.TSTypeKind): namedTypes.TSTypeAliasDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ declare?: boolean;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ typeAnnotation: K.TSTypeKind;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSTypeAliasDeclaration;
+}
+export interface TSModuleBlockBuilder {
+ (body: K.StatementKind[]): namedTypes.TSModuleBlock;
+ from(params: {
+ body: K.StatementKind[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSModuleBlock;
+}
+export interface TSModuleDeclarationBuilder {
+ (id: K.StringLiteralKind | K.IdentifierKind | K.TSQualifiedNameKind, body?: K.TSModuleBlockKind | K.TSModuleDeclarationKind | null): namedTypes.TSModuleDeclaration;
+ from(params: {
+ body?: K.TSModuleBlockKind | K.TSModuleDeclarationKind | null;
+ comments?: K.CommentKind[] | null;
+ declare?: boolean;
+ global?: boolean;
+ id: K.StringLiteralKind | K.IdentifierKind | K.TSQualifiedNameKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSModuleDeclaration;
+}
+export interface TSImportEqualsDeclarationBuilder {
+ (id: K.IdentifierKind, moduleReference: K.IdentifierKind | K.TSQualifiedNameKind | K.TSExternalModuleReferenceKind): namedTypes.TSImportEqualsDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ isExport?: boolean;
+ loc?: K.SourceLocationKind | null;
+ moduleReference: K.IdentifierKind | K.TSQualifiedNameKind | K.TSExternalModuleReferenceKind;
+ }): namedTypes.TSImportEqualsDeclaration;
+}
+export interface TSExternalModuleReferenceBuilder {
+ (expression: K.StringLiteralKind): namedTypes.TSExternalModuleReference;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.StringLiteralKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSExternalModuleReference;
+}
+export interface TSExportAssignmentBuilder {
+ (expression: K.ExpressionKind): namedTypes.TSExportAssignment;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ expression: K.ExpressionKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSExportAssignment;
+}
+export interface TSNamespaceExportDeclarationBuilder {
+ (id: K.IdentifierKind): namedTypes.TSNamespaceExportDeclaration;
+ from(params: {
+ comments?: K.CommentKind[] | null;
+ id: K.IdentifierKind;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSNamespaceExportDeclaration;
+}
+export interface TSInterfaceBodyBuilder {
+ (body: (K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[]): namedTypes.TSInterfaceBody;
+ from(params: {
+ body: (K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ }): namedTypes.TSInterfaceBody;
+}
+export interface TSInterfaceDeclarationBuilder {
+ (id: K.IdentifierKind | K.TSQualifiedNameKind, body: K.TSInterfaceBodyKind): namedTypes.TSInterfaceDeclaration;
+ from(params: {
+ body: K.TSInterfaceBodyKind;
+ comments?: K.CommentKind[] | null;
+ declare?: boolean;
+ extends?: K.TSExpressionWithTypeArgumentsKind[] | null;
+ id: K.IdentifierKind | K.TSQualifiedNameKind;
+ loc?: K.SourceLocationKind | null;
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }): namedTypes.TSInterfaceDeclaration;
+}
+export interface TSParameterPropertyBuilder {
+ (parameter: K.IdentifierKind | K.AssignmentPatternKind): namedTypes.TSParameterProperty;
+ from(params: {
+ accessibility?: "public" | "private" | "protected" | undefined;
+ comments?: K.CommentKind[] | null;
+ loc?: K.SourceLocationKind | null;
+ parameter: K.IdentifierKind | K.AssignmentPatternKind;
+ readonly?: boolean;
+ }): namedTypes.TSParameterProperty;
+}
+export interface builders {
+ file: FileBuilder;
+ program: ProgramBuilder;
+ identifier: IdentifierBuilder;
+ blockStatement: BlockStatementBuilder;
+ emptyStatement: EmptyStatementBuilder;
+ expressionStatement: ExpressionStatementBuilder;
+ ifStatement: IfStatementBuilder;
+ labeledStatement: LabeledStatementBuilder;
+ breakStatement: BreakStatementBuilder;
+ continueStatement: ContinueStatementBuilder;
+ withStatement: WithStatementBuilder;
+ switchStatement: SwitchStatementBuilder;
+ switchCase: SwitchCaseBuilder;
+ returnStatement: ReturnStatementBuilder;
+ throwStatement: ThrowStatementBuilder;
+ tryStatement: TryStatementBuilder;
+ catchClause: CatchClauseBuilder;
+ whileStatement: WhileStatementBuilder;
+ doWhileStatement: DoWhileStatementBuilder;
+ forStatement: ForStatementBuilder;
+ variableDeclaration: VariableDeclarationBuilder;
+ forInStatement: ForInStatementBuilder;
+ debuggerStatement: DebuggerStatementBuilder;
+ functionDeclaration: FunctionDeclarationBuilder;
+ functionExpression: FunctionExpressionBuilder;
+ variableDeclarator: VariableDeclaratorBuilder;
+ thisExpression: ThisExpressionBuilder;
+ arrayExpression: ArrayExpressionBuilder;
+ objectExpression: ObjectExpressionBuilder;
+ property: PropertyBuilder;
+ literal: LiteralBuilder;
+ sequenceExpression: SequenceExpressionBuilder;
+ unaryExpression: UnaryExpressionBuilder;
+ binaryExpression: BinaryExpressionBuilder;
+ assignmentExpression: AssignmentExpressionBuilder;
+ memberExpression: MemberExpressionBuilder;
+ updateExpression: UpdateExpressionBuilder;
+ logicalExpression: LogicalExpressionBuilder;
+ conditionalExpression: ConditionalExpressionBuilder;
+ newExpression: NewExpressionBuilder;
+ callExpression: CallExpressionBuilder;
+ restElement: RestElementBuilder;
+ typeAnnotation: TypeAnnotationBuilder;
+ tsTypeAnnotation: TSTypeAnnotationBuilder;
+ spreadElementPattern: SpreadElementPatternBuilder;
+ arrowFunctionExpression: ArrowFunctionExpressionBuilder;
+ forOfStatement: ForOfStatementBuilder;
+ yieldExpression: YieldExpressionBuilder;
+ generatorExpression: GeneratorExpressionBuilder;
+ comprehensionBlock: ComprehensionBlockBuilder;
+ comprehensionExpression: ComprehensionExpressionBuilder;
+ objectProperty: ObjectPropertyBuilder;
+ propertyPattern: PropertyPatternBuilder;
+ objectPattern: ObjectPatternBuilder;
+ arrayPattern: ArrayPatternBuilder;
+ spreadElement: SpreadElementBuilder;
+ assignmentPattern: AssignmentPatternBuilder;
+ methodDefinition: MethodDefinitionBuilder;
+ classPropertyDefinition: ClassPropertyDefinitionBuilder;
+ classProperty: ClassPropertyBuilder;
+ staticBlock: StaticBlockBuilder;
+ classBody: ClassBodyBuilder;
+ classDeclaration: ClassDeclarationBuilder;
+ classExpression: ClassExpressionBuilder;
+ super: SuperBuilder;
+ importSpecifier: ImportSpecifierBuilder;
+ importDefaultSpecifier: ImportDefaultSpecifierBuilder;
+ importNamespaceSpecifier: ImportNamespaceSpecifierBuilder;
+ importDeclaration: ImportDeclarationBuilder;
+ exportNamedDeclaration: ExportNamedDeclarationBuilder;
+ exportSpecifier: ExportSpecifierBuilder;
+ exportDefaultDeclaration: ExportDefaultDeclarationBuilder;
+ exportAllDeclaration: ExportAllDeclarationBuilder;
+ taggedTemplateExpression: TaggedTemplateExpressionBuilder;
+ templateLiteral: TemplateLiteralBuilder;
+ templateElement: TemplateElementBuilder;
+ metaProperty: MetaPropertyBuilder;
+ awaitExpression: AwaitExpressionBuilder;
+ spreadProperty: SpreadPropertyBuilder;
+ spreadPropertyPattern: SpreadPropertyPatternBuilder;
+ importExpression: ImportExpressionBuilder;
+ chainExpression: ChainExpressionBuilder;
+ optionalCallExpression: OptionalCallExpressionBuilder;
+ optionalMemberExpression: OptionalMemberExpressionBuilder;
+ decorator: DecoratorBuilder;
+ privateName: PrivateNameBuilder;
+ classPrivateProperty: ClassPrivatePropertyBuilder;
+ importAttribute: ImportAttributeBuilder;
+ recordExpression: RecordExpressionBuilder;
+ objectMethod: ObjectMethodBuilder;
+ tupleExpression: TupleExpressionBuilder;
+ moduleExpression: ModuleExpressionBuilder;
+ jsxAttribute: JSXAttributeBuilder;
+ jsxIdentifier: JSXIdentifierBuilder;
+ jsxNamespacedName: JSXNamespacedNameBuilder;
+ jsxExpressionContainer: JSXExpressionContainerBuilder;
+ jsxElement: JSXElementBuilder;
+ jsxFragment: JSXFragmentBuilder;
+ jsxMemberExpression: JSXMemberExpressionBuilder;
+ jsxSpreadAttribute: JSXSpreadAttributeBuilder;
+ jsxEmptyExpression: JSXEmptyExpressionBuilder;
+ jsxText: JSXTextBuilder;
+ jsxSpreadChild: JSXSpreadChildBuilder;
+ jsxOpeningElement: JSXOpeningElementBuilder;
+ jsxClosingElement: JSXClosingElementBuilder;
+ jsxOpeningFragment: JSXOpeningFragmentBuilder;
+ jsxClosingFragment: JSXClosingFragmentBuilder;
+ typeParameterDeclaration: TypeParameterDeclarationBuilder;
+ tsTypeParameterDeclaration: TSTypeParameterDeclarationBuilder;
+ typeParameterInstantiation: TypeParameterInstantiationBuilder;
+ tsTypeParameterInstantiation: TSTypeParameterInstantiationBuilder;
+ classImplements: ClassImplementsBuilder;
+ tsExpressionWithTypeArguments: TSExpressionWithTypeArgumentsBuilder;
+ anyTypeAnnotation: AnyTypeAnnotationBuilder;
+ emptyTypeAnnotation: EmptyTypeAnnotationBuilder;
+ mixedTypeAnnotation: MixedTypeAnnotationBuilder;
+ voidTypeAnnotation: VoidTypeAnnotationBuilder;
+ symbolTypeAnnotation: SymbolTypeAnnotationBuilder;
+ numberTypeAnnotation: NumberTypeAnnotationBuilder;
+ bigIntTypeAnnotation: BigIntTypeAnnotationBuilder;
+ numberLiteralTypeAnnotation: NumberLiteralTypeAnnotationBuilder;
+ numericLiteralTypeAnnotation: NumericLiteralTypeAnnotationBuilder;
+ bigIntLiteralTypeAnnotation: BigIntLiteralTypeAnnotationBuilder;
+ stringTypeAnnotation: StringTypeAnnotationBuilder;
+ stringLiteralTypeAnnotation: StringLiteralTypeAnnotationBuilder;
+ booleanTypeAnnotation: BooleanTypeAnnotationBuilder;
+ booleanLiteralTypeAnnotation: BooleanLiteralTypeAnnotationBuilder;
+ nullableTypeAnnotation: NullableTypeAnnotationBuilder;
+ nullLiteralTypeAnnotation: NullLiteralTypeAnnotationBuilder;
+ nullTypeAnnotation: NullTypeAnnotationBuilder;
+ thisTypeAnnotation: ThisTypeAnnotationBuilder;
+ existsTypeAnnotation: ExistsTypeAnnotationBuilder;
+ existentialTypeParam: ExistentialTypeParamBuilder;
+ functionTypeAnnotation: FunctionTypeAnnotationBuilder;
+ functionTypeParam: FunctionTypeParamBuilder;
+ arrayTypeAnnotation: ArrayTypeAnnotationBuilder;
+ objectTypeAnnotation: ObjectTypeAnnotationBuilder;
+ objectTypeProperty: ObjectTypePropertyBuilder;
+ objectTypeSpreadProperty: ObjectTypeSpreadPropertyBuilder;
+ objectTypeIndexer: ObjectTypeIndexerBuilder;
+ objectTypeCallProperty: ObjectTypeCallPropertyBuilder;
+ objectTypeInternalSlot: ObjectTypeInternalSlotBuilder;
+ variance: VarianceBuilder;
+ qualifiedTypeIdentifier: QualifiedTypeIdentifierBuilder;
+ genericTypeAnnotation: GenericTypeAnnotationBuilder;
+ memberTypeAnnotation: MemberTypeAnnotationBuilder;
+ indexedAccessType: IndexedAccessTypeBuilder;
+ optionalIndexedAccessType: OptionalIndexedAccessTypeBuilder;
+ unionTypeAnnotation: UnionTypeAnnotationBuilder;
+ intersectionTypeAnnotation: IntersectionTypeAnnotationBuilder;
+ typeofTypeAnnotation: TypeofTypeAnnotationBuilder;
+ typeParameter: TypeParameterBuilder;
+ interfaceTypeAnnotation: InterfaceTypeAnnotationBuilder;
+ interfaceExtends: InterfaceExtendsBuilder;
+ interfaceDeclaration: InterfaceDeclarationBuilder;
+ declareInterface: DeclareInterfaceBuilder;
+ typeAlias: TypeAliasBuilder;
+ declareTypeAlias: DeclareTypeAliasBuilder;
+ opaqueType: OpaqueTypeBuilder;
+ declareOpaqueType: DeclareOpaqueTypeBuilder;
+ typeCastExpression: TypeCastExpressionBuilder;
+ tupleTypeAnnotation: TupleTypeAnnotationBuilder;
+ declareVariable: DeclareVariableBuilder;
+ declareFunction: DeclareFunctionBuilder;
+ declareClass: DeclareClassBuilder;
+ declareModule: DeclareModuleBuilder;
+ declareModuleExports: DeclareModuleExportsBuilder;
+ declareExportDeclaration: DeclareExportDeclarationBuilder;
+ exportBatchSpecifier: ExportBatchSpecifierBuilder;
+ declareExportAllDeclaration: DeclareExportAllDeclarationBuilder;
+ inferredPredicate: InferredPredicateBuilder;
+ declaredPredicate: DeclaredPredicateBuilder;
+ enumDeclaration: EnumDeclarationBuilder;
+ enumBooleanBody: EnumBooleanBodyBuilder;
+ enumNumberBody: EnumNumberBodyBuilder;
+ enumStringBody: EnumStringBodyBuilder;
+ enumSymbolBody: EnumSymbolBodyBuilder;
+ enumBooleanMember: EnumBooleanMemberBuilder;
+ enumNumberMember: EnumNumberMemberBuilder;
+ enumStringMember: EnumStringMemberBuilder;
+ enumDefaultedMember: EnumDefaultedMemberBuilder;
+ exportDeclaration: ExportDeclarationBuilder;
+ block: BlockBuilder;
+ line: LineBuilder;
+ noop: NoopBuilder;
+ doExpression: DoExpressionBuilder;
+ bindExpression: BindExpressionBuilder;
+ parenthesizedExpression: ParenthesizedExpressionBuilder;
+ exportNamespaceSpecifier: ExportNamespaceSpecifierBuilder;
+ exportDefaultSpecifier: ExportDefaultSpecifierBuilder;
+ commentBlock: CommentBlockBuilder;
+ commentLine: CommentLineBuilder;
+ directive: DirectiveBuilder;
+ directiveLiteral: DirectiveLiteralBuilder;
+ interpreterDirective: InterpreterDirectiveBuilder;
+ stringLiteral: StringLiteralBuilder;
+ numericLiteral: NumericLiteralBuilder;
+ bigIntLiteral: BigIntLiteralBuilder;
+ decimalLiteral: DecimalLiteralBuilder;
+ nullLiteral: NullLiteralBuilder;
+ booleanLiteral: BooleanLiteralBuilder;
+ regExpLiteral: RegExpLiteralBuilder;
+ classMethod: ClassMethodBuilder;
+ classPrivateMethod: ClassPrivateMethodBuilder;
+ classAccessorProperty: ClassAccessorPropertyBuilder;
+ restProperty: RestPropertyBuilder;
+ forAwaitStatement: ForAwaitStatementBuilder;
+ import: ImportBuilder;
+ v8IntrinsicIdentifier: V8IntrinsicIdentifierBuilder;
+ topicReference: TopicReferenceBuilder;
+ tsQualifiedName: TSQualifiedNameBuilder;
+ tsTypeReference: TSTypeReferenceBuilder;
+ tsAsExpression: TSAsExpressionBuilder;
+ tsTypeCastExpression: TSTypeCastExpressionBuilder;
+ tsSatisfiesExpression: TSSatisfiesExpressionBuilder;
+ tsNonNullExpression: TSNonNullExpressionBuilder;
+ tsAnyKeyword: TSAnyKeywordBuilder;
+ tsBigIntKeyword: TSBigIntKeywordBuilder;
+ tsBooleanKeyword: TSBooleanKeywordBuilder;
+ tsNeverKeyword: TSNeverKeywordBuilder;
+ tsNullKeyword: TSNullKeywordBuilder;
+ tsNumberKeyword: TSNumberKeywordBuilder;
+ tsObjectKeyword: TSObjectKeywordBuilder;
+ tsStringKeyword: TSStringKeywordBuilder;
+ tsSymbolKeyword: TSSymbolKeywordBuilder;
+ tsUndefinedKeyword: TSUndefinedKeywordBuilder;
+ tsUnknownKeyword: TSUnknownKeywordBuilder;
+ tsVoidKeyword: TSVoidKeywordBuilder;
+ tsIntrinsicKeyword: TSIntrinsicKeywordBuilder;
+ tsThisType: TSThisTypeBuilder;
+ tsArrayType: TSArrayTypeBuilder;
+ tsLiteralType: TSLiteralTypeBuilder;
+ tsUnionType: TSUnionTypeBuilder;
+ tsIntersectionType: TSIntersectionTypeBuilder;
+ tsConditionalType: TSConditionalTypeBuilder;
+ tsInferType: TSInferTypeBuilder;
+ tsTypeParameter: TSTypeParameterBuilder;
+ tsParenthesizedType: TSParenthesizedTypeBuilder;
+ tsFunctionType: TSFunctionTypeBuilder;
+ tsConstructorType: TSConstructorTypeBuilder;
+ tsDeclareFunction: TSDeclareFunctionBuilder;
+ tsDeclareMethod: TSDeclareMethodBuilder;
+ tsMappedType: TSMappedTypeBuilder;
+ tsTupleType: TSTupleTypeBuilder;
+ tsNamedTupleMember: TSNamedTupleMemberBuilder;
+ tsRestType: TSRestTypeBuilder;
+ tsOptionalType: TSOptionalTypeBuilder;
+ tsIndexedAccessType: TSIndexedAccessTypeBuilder;
+ tsTypeOperator: TSTypeOperatorBuilder;
+ tsIndexSignature: TSIndexSignatureBuilder;
+ tsPropertySignature: TSPropertySignatureBuilder;
+ tsMethodSignature: TSMethodSignatureBuilder;
+ tsTypePredicate: TSTypePredicateBuilder;
+ tsCallSignatureDeclaration: TSCallSignatureDeclarationBuilder;
+ tsConstructSignatureDeclaration: TSConstructSignatureDeclarationBuilder;
+ tsEnumMember: TSEnumMemberBuilder;
+ tsTypeQuery: TSTypeQueryBuilder;
+ tsImportType: TSImportTypeBuilder;
+ tsTypeLiteral: TSTypeLiteralBuilder;
+ tsTypeAssertion: TSTypeAssertionBuilder;
+ tsInstantiationExpression: TSInstantiationExpressionBuilder;
+ tsEnumDeclaration: TSEnumDeclarationBuilder;
+ tsTypeAliasDeclaration: TSTypeAliasDeclarationBuilder;
+ tsModuleBlock: TSModuleBlockBuilder;
+ tsModuleDeclaration: TSModuleDeclarationBuilder;
+ tsImportEqualsDeclaration: TSImportEqualsDeclarationBuilder;
+ tsExternalModuleReference: TSExternalModuleReferenceBuilder;
+ tsExportAssignment: TSExportAssignmentBuilder;
+ tsNamespaceExportDeclaration: TSNamespaceExportDeclarationBuilder;
+ tsInterfaceBody: TSInterfaceBodyBuilder;
+ tsInterfaceDeclaration: TSInterfaceDeclarationBuilder;
+ tsParameterProperty: TSParameterPropertyBuilder;
+ [builderName: string]: any;
+}
diff --git a/tools/ui/node_modules/ast-types/lib/gen/builders.js b/tools/ui/node_modules/ast-types/lib/gen/builders.js
new file mode 100644
index 0000000000000000000000000000000000000000..8d7b4e93e0448eb46e11bb58b721813740ad6cc7
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/builders.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=builders.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/gen/builders.js.map b/tools/ui/node_modules/ast-types/lib/gen/builders.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..354841c2a7c982507096fa2411c990e3fba631db
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/builders.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"builders.js","sourceRoot":"","sources":["../../src/gen/builders.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/gen/kinds.d.ts b/tools/ui/node_modules/ast-types/lib/gen/kinds.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..572dba2650a8716b627511a4b473f25bd44bfc2a
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/kinds.d.ts
@@ -0,0 +1,293 @@
+import { namedTypes } from "./namedTypes";
+export type PrintableKind = namedTypes.File | namedTypes.Program | namedTypes.Identifier | namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.SwitchCase | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.CatchClause | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.VariableDeclarator | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Property | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.RestElement | namedTypes.TypeAnnotation | namedTypes.TSTypeAnnotation | namedTypes.SpreadElementPattern | namedTypes.ArrowFunctionExpression | namedTypes.ForOfStatement | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionBlock | namedTypes.ComprehensionExpression | namedTypes.ObjectProperty | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.SpreadElement | namedTypes.AssignmentPattern | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ClassExpression | namedTypes.Super | namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportSpecifier | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.TemplateElement | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.SpreadProperty | namedTypes.SpreadPropertyPattern | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | namedTypes.ImportAttribute | namedTypes.RecordExpression | namedTypes.ObjectMethod | namedTypes.TupleExpression | namedTypes.ModuleExpression | namedTypes.JSXAttribute | namedTypes.JSXIdentifier | namedTypes.JSXNamespacedName | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXSpreadAttribute | namedTypes.JSXEmptyExpression | namedTypes.JSXText | namedTypes.JSXSpreadChild | namedTypes.JSXOpeningElement | namedTypes.JSXClosingElement | namedTypes.JSXOpeningFragment | namedTypes.JSXClosingFragment | namedTypes.TypeParameterDeclaration | namedTypes.TSTypeParameterDeclaration | namedTypes.TypeParameterInstantiation | namedTypes.TSTypeParameterInstantiation | namedTypes.ClassImplements | namedTypes.TSExpressionWithTypeArguments | namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.FunctionTypeParam | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.ObjectTypeProperty | namedTypes.ObjectTypeSpreadProperty | namedTypes.ObjectTypeIndexer | namedTypes.ObjectTypeCallProperty | namedTypes.ObjectTypeInternalSlot | namedTypes.Variance | namedTypes.QualifiedTypeIdentifier | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.InterfaceExtends | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.TypeCastExpression | namedTypes.TupleTypeAnnotation | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.ExportBatchSpecifier | namedTypes.DeclareExportAllDeclaration | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Block | namedTypes.Line | namedTypes.Noop | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier | namedTypes.CommentBlock | namedTypes.CommentLine | namedTypes.Directive | namedTypes.DirectiveLiteral | namedTypes.InterpreterDirective | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSTypeParameter | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSTypePredicate | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumMember | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
+export type SourceLocationKind = namedTypes.SourceLocation;
+export type NodeKind = namedTypes.File | namedTypes.Program | namedTypes.Identifier | namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.SwitchCase | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.CatchClause | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.VariableDeclarator | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Property | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.RestElement | namedTypes.TypeAnnotation | namedTypes.TSTypeAnnotation | namedTypes.SpreadElementPattern | namedTypes.ArrowFunctionExpression | namedTypes.ForOfStatement | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionBlock | namedTypes.ComprehensionExpression | namedTypes.ObjectProperty | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.SpreadElement | namedTypes.AssignmentPattern | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ClassExpression | namedTypes.Super | namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportSpecifier | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.TemplateElement | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.SpreadProperty | namedTypes.SpreadPropertyPattern | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | namedTypes.ImportAttribute | namedTypes.RecordExpression | namedTypes.ObjectMethod | namedTypes.TupleExpression | namedTypes.ModuleExpression | namedTypes.JSXAttribute | namedTypes.JSXIdentifier | namedTypes.JSXNamespacedName | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXSpreadAttribute | namedTypes.JSXEmptyExpression | namedTypes.JSXText | namedTypes.JSXSpreadChild | namedTypes.JSXOpeningElement | namedTypes.JSXClosingElement | namedTypes.JSXOpeningFragment | namedTypes.JSXClosingFragment | namedTypes.TypeParameterDeclaration | namedTypes.TSTypeParameterDeclaration | namedTypes.TypeParameterInstantiation | namedTypes.TSTypeParameterInstantiation | namedTypes.ClassImplements | namedTypes.TSExpressionWithTypeArguments | namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.FunctionTypeParam | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.ObjectTypeProperty | namedTypes.ObjectTypeSpreadProperty | namedTypes.ObjectTypeIndexer | namedTypes.ObjectTypeCallProperty | namedTypes.ObjectTypeInternalSlot | namedTypes.Variance | namedTypes.QualifiedTypeIdentifier | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.InterfaceExtends | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.TypeCastExpression | namedTypes.TupleTypeAnnotation | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.ExportBatchSpecifier | namedTypes.DeclareExportAllDeclaration | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Noop | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier | namedTypes.Directive | namedTypes.DirectiveLiteral | namedTypes.InterpreterDirective | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSTypeParameter | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSTypePredicate | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumMember | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
+export type CommentKind = namedTypes.Block | namedTypes.Line | namedTypes.CommentBlock | namedTypes.CommentLine;
+export type PositionKind = namedTypes.Position;
+export type FileKind = namedTypes.File;
+export type ProgramKind = namedTypes.Program;
+export type StatementKind = namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.ForOfStatement | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.ClassPrivateProperty | namedTypes.TSTypeParameterDeclaration | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.DeclareExportAllDeclaration | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Noop | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.ForAwaitStatement | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceDeclaration;
+export type FunctionKind = namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.ArrowFunctionExpression | namedTypes.ObjectMethod | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod;
+export type ExpressionKind = namedTypes.Identifier | namedTypes.FunctionExpression | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.ArrowFunctionExpression | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionExpression | namedTypes.ClassExpression | namedTypes.Super | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.PrivateName | namedTypes.RecordExpression | namedTypes.TupleExpression | namedTypes.JSXIdentifier | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXText | namedTypes.TypeCastExpression | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.DirectiveLiteral | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression;
+export type PatternKind = namedTypes.Identifier | namedTypes.RestElement | namedTypes.SpreadElementPattern | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.AssignmentPattern | namedTypes.SpreadPropertyPattern | namedTypes.PrivateName | namedTypes.JSXIdentifier | namedTypes.TSAsExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion | namedTypes.TSParameterProperty;
+export type IdentifierKind = namedTypes.Identifier | namedTypes.JSXIdentifier | namedTypes.TSTypeParameter;
+export type BlockStatementKind = namedTypes.BlockStatement;
+export type EmptyStatementKind = namedTypes.EmptyStatement;
+export type ExpressionStatementKind = namedTypes.ExpressionStatement;
+export type IfStatementKind = namedTypes.IfStatement;
+export type LabeledStatementKind = namedTypes.LabeledStatement;
+export type BreakStatementKind = namedTypes.BreakStatement;
+export type ContinueStatementKind = namedTypes.ContinueStatement;
+export type WithStatementKind = namedTypes.WithStatement;
+export type SwitchStatementKind = namedTypes.SwitchStatement;
+export type SwitchCaseKind = namedTypes.SwitchCase;
+export type ReturnStatementKind = namedTypes.ReturnStatement;
+export type ThrowStatementKind = namedTypes.ThrowStatement;
+export type TryStatementKind = namedTypes.TryStatement;
+export type CatchClauseKind = namedTypes.CatchClause;
+export type WhileStatementKind = namedTypes.WhileStatement;
+export type DoWhileStatementKind = namedTypes.DoWhileStatement;
+export type ForStatementKind = namedTypes.ForStatement;
+export type DeclarationKind = namedTypes.VariableDeclaration | namedTypes.FunctionDeclaration | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.ClassPrivateProperty | namedTypes.TSTypeParameterDeclaration | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.DeclareClass | namedTypes.DeclareExportDeclaration | namedTypes.DeclareExportAllDeclaration | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceDeclaration;
+export type VariableDeclarationKind = namedTypes.VariableDeclaration;
+export type ForInStatementKind = namedTypes.ForInStatement;
+export type DebuggerStatementKind = namedTypes.DebuggerStatement;
+export type FunctionDeclarationKind = namedTypes.FunctionDeclaration;
+export type FunctionExpressionKind = namedTypes.FunctionExpression;
+export type VariableDeclaratorKind = namedTypes.VariableDeclarator;
+export type ThisExpressionKind = namedTypes.ThisExpression;
+export type ArrayExpressionKind = namedTypes.ArrayExpression;
+export type ObjectExpressionKind = namedTypes.ObjectExpression;
+export type PropertyKind = namedTypes.Property;
+export type LiteralKind = namedTypes.Literal | namedTypes.JSXText | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral;
+export type SequenceExpressionKind = namedTypes.SequenceExpression;
+export type UnaryExpressionKind = namedTypes.UnaryExpression;
+export type BinaryExpressionKind = namedTypes.BinaryExpression;
+export type AssignmentExpressionKind = namedTypes.AssignmentExpression;
+export type ChainElementKind = namedTypes.MemberExpression | namedTypes.CallExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
+export type MemberExpressionKind = namedTypes.MemberExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
+export type UpdateExpressionKind = namedTypes.UpdateExpression;
+export type LogicalExpressionKind = namedTypes.LogicalExpression;
+export type ConditionalExpressionKind = namedTypes.ConditionalExpression;
+export type NewExpressionKind = namedTypes.NewExpression;
+export type CallExpressionKind = namedTypes.CallExpression | namedTypes.OptionalCallExpression;
+export type RestElementKind = namedTypes.RestElement;
+export type TypeAnnotationKind = namedTypes.TypeAnnotation;
+export type TSTypeAnnotationKind = namedTypes.TSTypeAnnotation | namedTypes.TSTypePredicate;
+export type SpreadElementPatternKind = namedTypes.SpreadElementPattern;
+export type ArrowFunctionExpressionKind = namedTypes.ArrowFunctionExpression;
+export type ForOfStatementKind = namedTypes.ForOfStatement;
+export type YieldExpressionKind = namedTypes.YieldExpression;
+export type GeneratorExpressionKind = namedTypes.GeneratorExpression;
+export type ComprehensionBlockKind = namedTypes.ComprehensionBlock;
+export type ComprehensionExpressionKind = namedTypes.ComprehensionExpression;
+export type ObjectPropertyKind = namedTypes.ObjectProperty;
+export type PropertyPatternKind = namedTypes.PropertyPattern;
+export type ObjectPatternKind = namedTypes.ObjectPattern;
+export type ArrayPatternKind = namedTypes.ArrayPattern;
+export type SpreadElementKind = namedTypes.SpreadElement;
+export type AssignmentPatternKind = namedTypes.AssignmentPattern;
+export type MethodDefinitionKind = namedTypes.MethodDefinition;
+export type ClassPropertyDefinitionKind = namedTypes.ClassPropertyDefinition;
+export type ClassPropertyKind = namedTypes.ClassProperty | namedTypes.ClassPrivateProperty;
+export type StaticBlockKind = namedTypes.StaticBlock;
+export type ClassBodyKind = namedTypes.ClassBody;
+export type ClassDeclarationKind = namedTypes.ClassDeclaration;
+export type ClassExpressionKind = namedTypes.ClassExpression;
+export type SuperKind = namedTypes.Super;
+export type SpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier | namedTypes.ExportBatchSpecifier | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier;
+export type ModuleSpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier;
+export type ImportSpecifierKind = namedTypes.ImportSpecifier;
+export type ImportDefaultSpecifierKind = namedTypes.ImportDefaultSpecifier;
+export type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
+export type ImportDeclarationKind = namedTypes.ImportDeclaration;
+export type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
+export type ExportSpecifierKind = namedTypes.ExportSpecifier;
+export type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
+export type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
+export type TaggedTemplateExpressionKind = namedTypes.TaggedTemplateExpression;
+export type TemplateLiteralKind = namedTypes.TemplateLiteral;
+export type TemplateElementKind = namedTypes.TemplateElement;
+export type MetaPropertyKind = namedTypes.MetaProperty;
+export type AwaitExpressionKind = namedTypes.AwaitExpression;
+export type SpreadPropertyKind = namedTypes.SpreadProperty;
+export type SpreadPropertyPatternKind = namedTypes.SpreadPropertyPattern;
+export type ImportExpressionKind = namedTypes.ImportExpression;
+export type ChainExpressionKind = namedTypes.ChainExpression;
+export type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
+export type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
+export type DecoratorKind = namedTypes.Decorator;
+export type PrivateNameKind = namedTypes.PrivateName;
+export type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
+export type ImportAttributeKind = namedTypes.ImportAttribute;
+export type RecordExpressionKind = namedTypes.RecordExpression;
+export type ObjectMethodKind = namedTypes.ObjectMethod;
+export type TupleExpressionKind = namedTypes.TupleExpression;
+export type ModuleExpressionKind = namedTypes.ModuleExpression;
+export type JSXAttributeKind = namedTypes.JSXAttribute;
+export type JSXIdentifierKind = namedTypes.JSXIdentifier;
+export type JSXNamespacedNameKind = namedTypes.JSXNamespacedName;
+export type JSXExpressionContainerKind = namedTypes.JSXExpressionContainer;
+export type JSXElementKind = namedTypes.JSXElement;
+export type JSXFragmentKind = namedTypes.JSXFragment;
+export type JSXMemberExpressionKind = namedTypes.JSXMemberExpression;
+export type JSXSpreadAttributeKind = namedTypes.JSXSpreadAttribute;
+export type JSXEmptyExpressionKind = namedTypes.JSXEmptyExpression;
+export type JSXTextKind = namedTypes.JSXText;
+export type JSXSpreadChildKind = namedTypes.JSXSpreadChild;
+export type JSXOpeningElementKind = namedTypes.JSXOpeningElement;
+export type JSXClosingElementKind = namedTypes.JSXClosingElement;
+export type JSXOpeningFragmentKind = namedTypes.JSXOpeningFragment;
+export type JSXClosingFragmentKind = namedTypes.JSXClosingFragment;
+export type TypeParameterDeclarationKind = namedTypes.TypeParameterDeclaration;
+export type TSTypeParameterDeclarationKind = namedTypes.TSTypeParameterDeclaration;
+export type TypeParameterInstantiationKind = namedTypes.TypeParameterInstantiation;
+export type TSTypeParameterInstantiationKind = namedTypes.TSTypeParameterInstantiation;
+export type ClassImplementsKind = namedTypes.ClassImplements;
+export type TSTypeKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSTypePredicate | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral;
+export type TSHasOptionalTypeParameterInstantiationKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSImportType | namedTypes.TSInstantiationExpression;
+export type TSExpressionWithTypeArgumentsKind = namedTypes.TSExpressionWithTypeArguments;
+export type FlowKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
+export type FlowTypeKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation;
+export type AnyTypeAnnotationKind = namedTypes.AnyTypeAnnotation;
+export type EmptyTypeAnnotationKind = namedTypes.EmptyTypeAnnotation;
+export type MixedTypeAnnotationKind = namedTypes.MixedTypeAnnotation;
+export type VoidTypeAnnotationKind = namedTypes.VoidTypeAnnotation;
+export type SymbolTypeAnnotationKind = namedTypes.SymbolTypeAnnotation;
+export type NumberTypeAnnotationKind = namedTypes.NumberTypeAnnotation;
+export type BigIntTypeAnnotationKind = namedTypes.BigIntTypeAnnotation;
+export type NumberLiteralTypeAnnotationKind = namedTypes.NumberLiteralTypeAnnotation;
+export type NumericLiteralTypeAnnotationKind = namedTypes.NumericLiteralTypeAnnotation;
+export type BigIntLiteralTypeAnnotationKind = namedTypes.BigIntLiteralTypeAnnotation;
+export type StringTypeAnnotationKind = namedTypes.StringTypeAnnotation;
+export type StringLiteralTypeAnnotationKind = namedTypes.StringLiteralTypeAnnotation;
+export type BooleanTypeAnnotationKind = namedTypes.BooleanTypeAnnotation;
+export type BooleanLiteralTypeAnnotationKind = namedTypes.BooleanLiteralTypeAnnotation;
+export type NullableTypeAnnotationKind = namedTypes.NullableTypeAnnotation;
+export type NullLiteralTypeAnnotationKind = namedTypes.NullLiteralTypeAnnotation;
+export type NullTypeAnnotationKind = namedTypes.NullTypeAnnotation;
+export type ThisTypeAnnotationKind = namedTypes.ThisTypeAnnotation;
+export type ExistsTypeAnnotationKind = namedTypes.ExistsTypeAnnotation;
+export type ExistentialTypeParamKind = namedTypes.ExistentialTypeParam;
+export type FunctionTypeAnnotationKind = namedTypes.FunctionTypeAnnotation;
+export type FunctionTypeParamKind = namedTypes.FunctionTypeParam;
+export type ArrayTypeAnnotationKind = namedTypes.ArrayTypeAnnotation;
+export type ObjectTypeAnnotationKind = namedTypes.ObjectTypeAnnotation;
+export type ObjectTypePropertyKind = namedTypes.ObjectTypeProperty;
+export type ObjectTypeSpreadPropertyKind = namedTypes.ObjectTypeSpreadProperty;
+export type ObjectTypeIndexerKind = namedTypes.ObjectTypeIndexer;
+export type ObjectTypeCallPropertyKind = namedTypes.ObjectTypeCallProperty;
+export type ObjectTypeInternalSlotKind = namedTypes.ObjectTypeInternalSlot;
+export type VarianceKind = namedTypes.Variance;
+export type QualifiedTypeIdentifierKind = namedTypes.QualifiedTypeIdentifier;
+export type GenericTypeAnnotationKind = namedTypes.GenericTypeAnnotation;
+export type MemberTypeAnnotationKind = namedTypes.MemberTypeAnnotation;
+export type IndexedAccessTypeKind = namedTypes.IndexedAccessType;
+export type OptionalIndexedAccessTypeKind = namedTypes.OptionalIndexedAccessType;
+export type UnionTypeAnnotationKind = namedTypes.UnionTypeAnnotation;
+export type IntersectionTypeAnnotationKind = namedTypes.IntersectionTypeAnnotation;
+export type TypeofTypeAnnotationKind = namedTypes.TypeofTypeAnnotation;
+export type TypeParameterKind = namedTypes.TypeParameter;
+export type InterfaceTypeAnnotationKind = namedTypes.InterfaceTypeAnnotation;
+export type InterfaceExtendsKind = namedTypes.InterfaceExtends;
+export type InterfaceDeclarationKind = namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.DeclareClass;
+export type DeclareInterfaceKind = namedTypes.DeclareInterface;
+export type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias;
+export type DeclareTypeAliasKind = namedTypes.DeclareTypeAlias;
+export type OpaqueTypeKind = namedTypes.OpaqueType | namedTypes.DeclareOpaqueType;
+export type DeclareOpaqueTypeKind = namedTypes.DeclareOpaqueType;
+export type TypeCastExpressionKind = namedTypes.TypeCastExpression;
+export type TupleTypeAnnotationKind = namedTypes.TupleTypeAnnotation;
+export type DeclareVariableKind = namedTypes.DeclareVariable;
+export type DeclareFunctionKind = namedTypes.DeclareFunction;
+export type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
+export type DeclareClassKind = namedTypes.DeclareClass;
+export type DeclareModuleKind = namedTypes.DeclareModule;
+export type DeclareModuleExportsKind = namedTypes.DeclareModuleExports;
+export type DeclareExportDeclarationKind = namedTypes.DeclareExportDeclaration;
+export type ExportBatchSpecifierKind = namedTypes.ExportBatchSpecifier;
+export type DeclareExportAllDeclarationKind = namedTypes.DeclareExportAllDeclaration;
+export type InferredPredicateKind = namedTypes.InferredPredicate;
+export type DeclaredPredicateKind = namedTypes.DeclaredPredicate;
+export type EnumDeclarationKind = namedTypes.EnumDeclaration;
+export type EnumBooleanBodyKind = namedTypes.EnumBooleanBody;
+export type EnumNumberBodyKind = namedTypes.EnumNumberBody;
+export type EnumStringBodyKind = namedTypes.EnumStringBody;
+export type EnumSymbolBodyKind = namedTypes.EnumSymbolBody;
+export type EnumBooleanMemberKind = namedTypes.EnumBooleanMember;
+export type EnumNumberMemberKind = namedTypes.EnumNumberMember;
+export type EnumStringMemberKind = namedTypes.EnumStringMember;
+export type EnumDefaultedMemberKind = namedTypes.EnumDefaultedMember;
+export type ExportDeclarationKind = namedTypes.ExportDeclaration;
+export type BlockKind = namedTypes.Block;
+export type LineKind = namedTypes.Line;
+export type NoopKind = namedTypes.Noop;
+export type DoExpressionKind = namedTypes.DoExpression;
+export type BindExpressionKind = namedTypes.BindExpression;
+export type ParenthesizedExpressionKind = namedTypes.ParenthesizedExpression;
+export type ExportNamespaceSpecifierKind = namedTypes.ExportNamespaceSpecifier;
+export type ExportDefaultSpecifierKind = namedTypes.ExportDefaultSpecifier;
+export type CommentBlockKind = namedTypes.CommentBlock;
+export type CommentLineKind = namedTypes.CommentLine;
+export type DirectiveKind = namedTypes.Directive;
+export type DirectiveLiteralKind = namedTypes.DirectiveLiteral;
+export type InterpreterDirectiveKind = namedTypes.InterpreterDirective;
+export type StringLiteralKind = namedTypes.StringLiteral;
+export type NumericLiteralKind = namedTypes.NumericLiteral;
+export type BigIntLiteralKind = namedTypes.BigIntLiteral;
+export type DecimalLiteralKind = namedTypes.DecimalLiteral;
+export type NullLiteralKind = namedTypes.NullLiteral;
+export type BooleanLiteralKind = namedTypes.BooleanLiteral;
+export type RegExpLiteralKind = namedTypes.RegExpLiteral;
+export type ClassMethodKind = namedTypes.ClassMethod;
+export type ClassPrivateMethodKind = namedTypes.ClassPrivateMethod;
+export type TSHasOptionalTypeAnnotationKind = namedTypes.ClassAccessorProperty | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration;
+export type ClassAccessorPropertyKind = namedTypes.ClassAccessorProperty;
+export type RestPropertyKind = namedTypes.RestProperty;
+export type ForAwaitStatementKind = namedTypes.ForAwaitStatement;
+export type ImportKind = namedTypes.Import;
+export type V8IntrinsicIdentifierKind = namedTypes.V8IntrinsicIdentifier;
+export type TopicReferenceKind = namedTypes.TopicReference;
+export type TSQualifiedNameKind = namedTypes.TSQualifiedName;
+export type TSTypeReferenceKind = namedTypes.TSTypeReference;
+export type TSHasOptionalTypeParametersKind = namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSInterfaceDeclaration;
+export type TSAsExpressionKind = namedTypes.TSAsExpression;
+export type TSTypeCastExpressionKind = namedTypes.TSTypeCastExpression;
+export type TSSatisfiesExpressionKind = namedTypes.TSSatisfiesExpression;
+export type TSNonNullExpressionKind = namedTypes.TSNonNullExpression;
+export type TSAnyKeywordKind = namedTypes.TSAnyKeyword;
+export type TSBigIntKeywordKind = namedTypes.TSBigIntKeyword;
+export type TSBooleanKeywordKind = namedTypes.TSBooleanKeyword;
+export type TSNeverKeywordKind = namedTypes.TSNeverKeyword;
+export type TSNullKeywordKind = namedTypes.TSNullKeyword;
+export type TSNumberKeywordKind = namedTypes.TSNumberKeyword;
+export type TSObjectKeywordKind = namedTypes.TSObjectKeyword;
+export type TSStringKeywordKind = namedTypes.TSStringKeyword;
+export type TSSymbolKeywordKind = namedTypes.TSSymbolKeyword;
+export type TSUndefinedKeywordKind = namedTypes.TSUndefinedKeyword;
+export type TSUnknownKeywordKind = namedTypes.TSUnknownKeyword;
+export type TSVoidKeywordKind = namedTypes.TSVoidKeyword;
+export type TSIntrinsicKeywordKind = namedTypes.TSIntrinsicKeyword;
+export type TSThisTypeKind = namedTypes.TSThisType;
+export type TSArrayTypeKind = namedTypes.TSArrayType;
+export type TSLiteralTypeKind = namedTypes.TSLiteralType;
+export type TSUnionTypeKind = namedTypes.TSUnionType;
+export type TSIntersectionTypeKind = namedTypes.TSIntersectionType;
+export type TSConditionalTypeKind = namedTypes.TSConditionalType;
+export type TSInferTypeKind = namedTypes.TSInferType;
+export type TSTypeParameterKind = namedTypes.TSTypeParameter;
+export type TSParenthesizedTypeKind = namedTypes.TSParenthesizedType;
+export type TSFunctionTypeKind = namedTypes.TSFunctionType;
+export type TSConstructorTypeKind = namedTypes.TSConstructorType;
+export type TSDeclareFunctionKind = namedTypes.TSDeclareFunction;
+export type TSDeclareMethodKind = namedTypes.TSDeclareMethod;
+export type TSMappedTypeKind = namedTypes.TSMappedType;
+export type TSTupleTypeKind = namedTypes.TSTupleType;
+export type TSNamedTupleMemberKind = namedTypes.TSNamedTupleMember;
+export type TSRestTypeKind = namedTypes.TSRestType;
+export type TSOptionalTypeKind = namedTypes.TSOptionalType;
+export type TSIndexedAccessTypeKind = namedTypes.TSIndexedAccessType;
+export type TSTypeOperatorKind = namedTypes.TSTypeOperator;
+export type TSIndexSignatureKind = namedTypes.TSIndexSignature;
+export type TSPropertySignatureKind = namedTypes.TSPropertySignature;
+export type TSMethodSignatureKind = namedTypes.TSMethodSignature;
+export type TSTypePredicateKind = namedTypes.TSTypePredicate;
+export type TSCallSignatureDeclarationKind = namedTypes.TSCallSignatureDeclaration;
+export type TSConstructSignatureDeclarationKind = namedTypes.TSConstructSignatureDeclaration;
+export type TSEnumMemberKind = namedTypes.TSEnumMember;
+export type TSTypeQueryKind = namedTypes.TSTypeQuery;
+export type TSImportTypeKind = namedTypes.TSImportType;
+export type TSTypeLiteralKind = namedTypes.TSTypeLiteral;
+export type TSTypeAssertionKind = namedTypes.TSTypeAssertion;
+export type TSInstantiationExpressionKind = namedTypes.TSInstantiationExpression;
+export type TSEnumDeclarationKind = namedTypes.TSEnumDeclaration;
+export type TSTypeAliasDeclarationKind = namedTypes.TSTypeAliasDeclaration;
+export type TSModuleBlockKind = namedTypes.TSModuleBlock;
+export type TSModuleDeclarationKind = namedTypes.TSModuleDeclaration;
+export type TSImportEqualsDeclarationKind = namedTypes.TSImportEqualsDeclaration;
+export type TSExternalModuleReferenceKind = namedTypes.TSExternalModuleReference;
+export type TSExportAssignmentKind = namedTypes.TSExportAssignment;
+export type TSNamespaceExportDeclarationKind = namedTypes.TSNamespaceExportDeclaration;
+export type TSInterfaceBodyKind = namedTypes.TSInterfaceBody;
+export type TSInterfaceDeclarationKind = namedTypes.TSInterfaceDeclaration;
+export type TSParameterPropertyKind = namedTypes.TSParameterProperty;
diff --git a/tools/ui/node_modules/ast-types/lib/gen/kinds.js b/tools/ui/node_modules/ast-types/lib/gen/kinds.js
new file mode 100644
index 0000000000000000000000000000000000000000..b2101198a77c11dd15f04c6fff8720f6d107745b
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/kinds.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=kinds.js.map
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/gen/kinds.js.map b/tools/ui/node_modules/ast-types/lib/gen/kinds.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..9acc1957c5648e2fb6f1c903c634766b06ae80c5
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/kinds.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/gen/kinds.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/tools/ui/node_modules/ast-types/lib/gen/namedTypes.d.ts b/tools/ui/node_modules/ast-types/lib/gen/namedTypes.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..4cac31f492dce394984f80f6f308dd6953002966
--- /dev/null
+++ b/tools/ui/node_modules/ast-types/lib/gen/namedTypes.d.ts
@@ -0,0 +1,2029 @@
+import { Type, Omit } from "../types";
+import * as K from "./kinds";
+export declare namespace namedTypes {
+ interface Printable {
+ loc?: K.SourceLocationKind | null;
+ }
+ interface SourceLocation {
+ start: K.PositionKind;
+ end: K.PositionKind;
+ source?: string | null;
+ }
+ interface Node extends Printable {
+ type: string;
+ comments?: K.CommentKind[] | null;
+ }
+ interface Comment extends Printable {
+ value: string;
+ leading?: boolean;
+ trailing?: boolean;
+ }
+ interface Position {
+ line: number;
+ column: number;
+ }
+ interface File extends Omit {
+ type: "File";
+ program: K.ProgramKind;
+ name?: string | null;
+ }
+ interface Program extends Omit {
+ type: "Program";
+ body: K.StatementKind[];
+ directives?: K.DirectiveKind[];
+ interpreter?: K.InterpreterDirectiveKind | null;
+ }
+ interface Statement extends Node {
+ }
+ interface Function extends Node {
+ id?: K.IdentifierKind | null;
+ params: K.PatternKind[];
+ body: K.BlockStatementKind;
+ generator?: boolean;
+ async?: boolean;
+ expression?: boolean;
+ defaults?: (K.ExpressionKind | null)[];
+ rest?: K.IdentifierKind | null;
+ returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ predicate?: K.FlowPredicateKind | null;
+ }
+ interface Expression extends Node {
+ }
+ interface Pattern extends Node {
+ }
+ interface Identifier extends Omit, Omit {
+ type: "Identifier";
+ name: string;
+ optional?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }
+ interface BlockStatement extends Omit {
+ type: "BlockStatement";
+ body: K.StatementKind[];
+ directives?: K.DirectiveKind[];
+ }
+ interface EmptyStatement extends Omit {
+ type: "EmptyStatement";
+ }
+ interface ExpressionStatement extends Omit {
+ type: "ExpressionStatement";
+ expression: K.ExpressionKind;
+ }
+ interface IfStatement extends Omit {
+ type: "IfStatement";
+ test: K.ExpressionKind;
+ consequent: K.StatementKind;
+ alternate?: K.StatementKind | null;
+ }
+ interface LabeledStatement extends Omit {
+ type: "LabeledStatement";
+ label: K.IdentifierKind;
+ body: K.StatementKind;
+ }
+ interface BreakStatement extends Omit {
+ type: "BreakStatement";
+ label?: K.IdentifierKind | null;
+ }
+ interface ContinueStatement extends Omit {
+ type: "ContinueStatement";
+ label?: K.IdentifierKind | null;
+ }
+ interface WithStatement extends Omit {
+ type: "WithStatement";
+ object: K.ExpressionKind;
+ body: K.StatementKind;
+ }
+ interface SwitchStatement extends Omit {
+ type: "SwitchStatement";
+ discriminant: K.ExpressionKind;
+ cases: K.SwitchCaseKind[];
+ lexical?: boolean;
+ }
+ interface SwitchCase extends Omit {
+ type: "SwitchCase";
+ test: K.ExpressionKind | null;
+ consequent: K.StatementKind[];
+ }
+ interface ReturnStatement extends Omit {
+ type: "ReturnStatement";
+ argument: K.ExpressionKind | null;
+ }
+ interface ThrowStatement extends Omit {
+ type: "ThrowStatement";
+ argument: K.ExpressionKind;
+ }
+ interface TryStatement extends Omit {
+ type: "TryStatement";
+ block: K.BlockStatementKind;
+ handler?: K.CatchClauseKind | null;
+ handlers?: K.CatchClauseKind[];
+ guardedHandlers?: K.CatchClauseKind[];
+ finalizer?: K.BlockStatementKind | null;
+ }
+ interface CatchClause extends Omit {
+ type: "CatchClause";
+ param?: K.PatternKind | null;
+ guard?: K.ExpressionKind | null;
+ body: K.BlockStatementKind;
+ }
+ interface WhileStatement extends Omit {
+ type: "WhileStatement";
+ test: K.ExpressionKind;
+ body: K.StatementKind;
+ }
+ interface DoWhileStatement extends Omit {
+ type: "DoWhileStatement";
+ body: K.StatementKind;
+ test: K.ExpressionKind;
+ }
+ interface ForStatement extends Omit {
+ type: "ForStatement";
+ init: K.VariableDeclarationKind | K.ExpressionKind | null;
+ test: K.ExpressionKind | null;
+ update: K.ExpressionKind | null;
+ body: K.StatementKind;
+ }
+ interface Declaration extends Statement {
+ }
+ interface VariableDeclaration extends Omit {
+ type: "VariableDeclaration";
+ kind: "var" | "let" | "const";
+ declarations: (K.VariableDeclaratorKind | K.IdentifierKind)[];
+ }
+ interface ForInStatement extends Omit {
+ type: "ForInStatement";
+ left: K.VariableDeclarationKind | K.ExpressionKind;
+ right: K.ExpressionKind;
+ body: K.StatementKind;
+ }
+ interface DebuggerStatement extends Omit {
+ type: "DebuggerStatement";
+ }
+ interface FunctionDeclaration extends Omit, Omit {
+ type: "FunctionDeclaration";
+ id: K.IdentifierKind | null;
+ }
+ interface FunctionExpression extends Omit, Omit {
+ type: "FunctionExpression";
+ }
+ interface VariableDeclarator extends Omit {
+ type: "VariableDeclarator";
+ id: K.PatternKind;
+ init?: K.ExpressionKind | null;
+ }
+ interface ThisExpression extends Omit {
+ type: "ThisExpression";
+ }
+ interface ArrayExpression extends Omit {
+ type: "ArrayExpression";
+ elements: (K.ExpressionKind | K.SpreadElementKind | K.RestElementKind | null)[];
+ }
+ interface ObjectExpression extends Omit {
+ type: "ObjectExpression";
+ properties: (K.PropertyKind | K.ObjectMethodKind | K.ObjectPropertyKind | K.SpreadPropertyKind | K.SpreadElementKind)[];
+ }
+ interface Property extends Omit {
+ type: "Property";
+ kind: "init" | "get" | "set";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ value: K.ExpressionKind | K.PatternKind;
+ method?: boolean;
+ shorthand?: boolean;
+ computed?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ }
+ interface Literal extends Omit {
+ type: "Literal";
+ value: string | boolean | null | number | RegExp | BigInt;
+ }
+ interface SequenceExpression extends Omit {
+ type: "SequenceExpression";
+ expressions: K.ExpressionKind[];
+ }
+ interface UnaryExpression extends Omit {
+ type: "UnaryExpression";
+ operator: "-" | "+" | "!" | "~" | "typeof" | "void" | "delete";
+ argument: K.ExpressionKind;
+ prefix?: boolean;
+ }
+ interface BinaryExpression extends Omit {
+ type: "BinaryExpression";
+ operator: "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "&" | "|" | "^" | "in" | "instanceof" | "**";
+ left: K.ExpressionKind;
+ right: K.ExpressionKind;
+ }
+ interface AssignmentExpression extends Omit {
+ type: "AssignmentExpression";
+ operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??=";
+ left: K.PatternKind | K.MemberExpressionKind;
+ right: K.ExpressionKind;
+ }
+ interface ChainElement extends Node {
+ optional?: boolean;
+ }
+ interface MemberExpression extends Omit, Omit {
+ type: "MemberExpression";
+ object: K.ExpressionKind;
+ property: K.IdentifierKind | K.ExpressionKind;
+ computed?: boolean;
+ }
+ interface UpdateExpression extends Omit {
+ type: "UpdateExpression";
+ operator: "++" | "--";
+ argument: K.ExpressionKind;
+ prefix: boolean;
+ }
+ interface LogicalExpression extends Omit {
+ type: "LogicalExpression";
+ operator: "||" | "&&" | "??";
+ left: K.ExpressionKind;
+ right: K.ExpressionKind;
+ }
+ interface ConditionalExpression extends Omit {
+ type: "ConditionalExpression";
+ test: K.ExpressionKind;
+ consequent: K.ExpressionKind;
+ alternate: K.ExpressionKind;
+ }
+ interface NewExpression extends Omit {
+ type: "NewExpression";
+ callee: K.ExpressionKind;
+ arguments: (K.ExpressionKind | K.SpreadElementKind)[];
+ typeArguments?: null | K.TypeParameterInstantiationKind;
+ }
+ interface CallExpression extends Omit, Omit {
+ type: "CallExpression";
+ callee: K.ExpressionKind;
+ arguments: (K.ExpressionKind | K.SpreadElementKind)[];
+ typeArguments?: null | K.TypeParameterInstantiationKind;
+ }
+ interface RestElement extends Omit {
+ type: "RestElement";
+ argument: K.PatternKind;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ }
+ interface TypeAnnotation extends Omit {
+ type: "TypeAnnotation";
+ typeAnnotation: K.FlowTypeKind;
+ }
+ interface TSTypeAnnotation extends Omit {
+ type: "TSTypeAnnotation";
+ typeAnnotation: K.TSTypeKind | K.TSTypeAnnotationKind;
+ }
+ interface SpreadElementPattern extends Omit {
+ type: "SpreadElementPattern";
+ argument: K.PatternKind;
+ }
+ interface ArrowFunctionExpression extends Omit, Omit {
+ type: "ArrowFunctionExpression";
+ id?: null;
+ body: K.BlockStatementKind | K.ExpressionKind;
+ generator?: false;
+ }
+ interface ForOfStatement extends Omit {
+ type: "ForOfStatement";
+ left: K.VariableDeclarationKind | K.PatternKind;
+ right: K.ExpressionKind;
+ body: K.StatementKind;
+ await?: boolean;
+ }
+ interface YieldExpression extends Omit {
+ type: "YieldExpression";
+ argument: K.ExpressionKind | null;
+ delegate?: boolean;
+ }
+ interface GeneratorExpression extends Omit {
+ type: "GeneratorExpression";
+ body: K.ExpressionKind;
+ blocks: K.ComprehensionBlockKind[];
+ filter: K.ExpressionKind | null;
+ }
+ interface ComprehensionBlock extends Omit {
+ type: "ComprehensionBlock";
+ left: K.PatternKind;
+ right: K.ExpressionKind;
+ each: boolean;
+ }
+ interface ComprehensionExpression extends Omit {
+ type: "ComprehensionExpression";
+ body: K.ExpressionKind;
+ blocks: K.ComprehensionBlockKind[];
+ filter: K.ExpressionKind | null;
+ }
+ interface ObjectProperty extends Omit {
+ shorthand?: boolean;
+ type: "ObjectProperty";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ value: K.ExpressionKind | K.PatternKind;
+ accessibility?: K.LiteralKind | null;
+ computed?: boolean;
+ }
+ interface PropertyPattern extends Omit {
+ type: "PropertyPattern";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ pattern: K.PatternKind;
+ computed?: boolean;
+ }
+ interface ObjectPattern extends Omit {
+ type: "ObjectPattern";
+ properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind | K.RestElementKind)[];
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ decorators?: K.DecoratorKind[] | null;
+ }
+ interface ArrayPattern extends Omit {
+ type: "ArrayPattern";
+ elements: (K.PatternKind | K.SpreadElementKind | null)[];
+ }
+ interface SpreadElement extends Omit {
+ type: "SpreadElement";
+ argument: K.ExpressionKind;
+ }
+ interface AssignmentPattern extends Omit {
+ type: "AssignmentPattern";
+ left: K.PatternKind;
+ right: K.ExpressionKind;
+ }
+ interface MethodDefinition extends Omit {
+ type: "MethodDefinition";
+ kind: "constructor" | "method" | "get" | "set";
+ key: K.ExpressionKind;
+ value: K.FunctionKind;
+ computed?: boolean;
+ static?: boolean;
+ decorators?: K.DecoratorKind[] | null;
+ }
+ interface ClassPropertyDefinition extends Omit {
+ type: "ClassPropertyDefinition";
+ definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.StaticBlockKind;
+ }
+ interface ClassProperty extends Omit {
+ type: "ClassProperty";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ computed?: boolean;
+ value: K.ExpressionKind | null;
+ static?: boolean;
+ typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ access?: "public" | "private" | "protected" | undefined;
+ }
+ interface StaticBlock extends Omit {
+ type: "StaticBlock";
+ body: K.StatementKind[];
+ }
+ interface ClassBody extends Omit {
+ type: "ClassBody";
+ body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassAccessorPropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.StaticBlockKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
+ }
+ interface ClassDeclaration extends Omit {
+ type: "ClassDeclaration";
+ id: K.IdentifierKind | null;
+ body: K.ClassBodyKind;
+ superClass?: K.ExpressionKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ superTypeParameters?: K.TypeParameterInstantiationKind | K.TSTypeParameterInstantiationKind | null;
+ implements?: K.ClassImplementsKind[] | K.TSExpressionWithTypeArgumentsKind[];
+ }
+ interface ClassExpression extends Omit {
+ type: "ClassExpression";
+ id?: K.IdentifierKind | null;
+ body: K.ClassBodyKind;
+ superClass?: K.ExpressionKind | null;
+ typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
+ superTypeParameters?: K.TypeParameterInstantiationKind | K.TSTypeParameterInstantiationKind | null;
+ implements?: K.ClassImplementsKind[] | K.TSExpressionWithTypeArgumentsKind[];
+ }
+ interface Super extends Omit {
+ type: "Super";
+ }
+ interface Specifier extends Node {
+ }
+ interface ModuleSpecifier extends Specifier {
+ local?: K.IdentifierKind | null;
+ id?: K.IdentifierKind | null;
+ name?: K.IdentifierKind | null;
+ }
+ interface ImportSpecifier extends Omit {
+ type: "ImportSpecifier";
+ imported: K.IdentifierKind;
+ }
+ interface ImportDefaultSpecifier extends Omit {
+ type: "ImportDefaultSpecifier";
+ }
+ interface ImportNamespaceSpecifier extends Omit {
+ type: "ImportNamespaceSpecifier";
+ }
+ interface ImportDeclaration extends Omit {
+ type: "ImportDeclaration";
+ specifiers?: (K.ImportSpecifierKind | K.ImportNamespaceSpecifierKind | K.ImportDefaultSpecifierKind)[];
+ source: K.LiteralKind;
+ importKind?: "value" | "type" | "typeof";
+ assertions?: K.ImportAttributeKind[];
+ }
+ interface ExportNamedDeclaration extends Omit {
+ type: "ExportNamedDeclaration";
+ declaration: K.DeclarationKind | null;
+ specifiers?: K.ExportSpecifierKind[];
+ source?: K.LiteralKind | null;
+ assertions?: K.ImportAttributeKind[];
+ }
+ interface ExportSpecifier extends Omit {
+ type: "ExportSpecifier";
+ exported: K.IdentifierKind;
+ }
+ interface ExportDefaultDeclaration extends Omit {
+ type: "ExportDefaultDeclaration";
+ declaration: K.DeclarationKind | K.ExpressionKind;
+ }
+ interface ExportAllDeclaration extends Omit {
+ type: "ExportAllDeclaration";
+ source: K.LiteralKind;
+ exported?: K.IdentifierKind | null | undefined;
+ assertions?: K.ImportAttributeKind[];
+ }
+ interface TaggedTemplateExpression extends Omit {
+ type: "TaggedTemplateExpression";
+ tag: K.ExpressionKind;
+ quasi: K.TemplateLiteralKind;
+ }
+ interface TemplateLiteral extends Omit {
+ type: "TemplateLiteral";
+ quasis: K.TemplateElementKind[];
+ expressions: K.ExpressionKind[] | K.TSTypeKind[];
+ }
+ interface TemplateElement extends Omit {
+ type: "TemplateElement";
+ value: {
+ cooked: string | null;
+ raw: string;
+ };
+ tail: boolean;
+ }
+ interface MetaProperty extends Omit {
+ type: "MetaProperty";
+ meta: K.IdentifierKind;
+ property: K.IdentifierKind;
+ }
+ interface AwaitExpression extends Omit {
+ type: "AwaitExpression";
+ argument: K.ExpressionKind | null;
+ all?: boolean;
+ }
+ interface SpreadProperty extends Omit {
+ type: "SpreadProperty";
+ argument: K.ExpressionKind;
+ }
+ interface SpreadPropertyPattern extends Omit {
+ type: "SpreadPropertyPattern";
+ argument: K.PatternKind;
+ }
+ interface ImportExpression extends Omit {
+ type: "ImportExpression";
+ source: K.ExpressionKind;
+ }
+ interface ChainExpression extends Omit {
+ type: "ChainExpression";
+ expression: K.ChainElementKind;
+ }
+ interface OptionalCallExpression extends Omit {
+ type: "OptionalCallExpression";
+ optional?: boolean;
+ }
+ interface OptionalMemberExpression extends Omit {
+ type: "OptionalMemberExpression";
+ optional?: boolean;
+ }
+ interface Decorator extends Omit {
+ type: "Decorator";
+ expression: K.ExpressionKind;
+ }
+ interface PrivateName extends Omit, Omit {
+ type: "PrivateName";
+ id: K.IdentifierKind;
+ }
+ interface ClassPrivateProperty extends Omit {
+ type: "ClassPrivateProperty";
+ key: K.PrivateNameKind;
+ value?: K.ExpressionKind | null;
+ }
+ interface ImportAttribute extends Omit {
+ type: "ImportAttribute";
+ key: K.IdentifierKind | K.LiteralKind;
+ value: K.ExpressionKind;
+ }
+ interface RecordExpression extends Omit {
+ type: "RecordExpression";
+ properties: (K.ObjectPropertyKind | K.ObjectMethodKind | K.SpreadElementKind)[];
+ }
+ interface ObjectMethod extends Omit, Omit {
+ type: "ObjectMethod";
+ kind: "method" | "get" | "set";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ params: K.PatternKind[];
+ body: K.BlockStatementKind;
+ computed?: boolean;
+ generator?: boolean;
+ async?: boolean;
+ accessibility?: K.LiteralKind | null;
+ decorators?: K.DecoratorKind[] | null;
+ }
+ interface TupleExpression extends Omit {
+ type: "TupleExpression";
+ elements: (K.ExpressionKind | K.SpreadElementKind | null)[];
+ }
+ interface ModuleExpression extends Omit {
+ type: "ModuleExpression";
+ body: K.ProgramKind;
+ }
+ interface JSXAttribute extends Omit {
+ type: "JSXAttribute";
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind;
+ value?: K.LiteralKind | K.JSXExpressionContainerKind | K.JSXElementKind | K.JSXFragmentKind | null;
+ }
+ interface JSXIdentifier extends Omit {
+ type: "JSXIdentifier";
+ name: string;
+ }
+ interface JSXNamespacedName extends Omit {
+ type: "JSXNamespacedName";
+ namespace: K.JSXIdentifierKind;
+ name: K.JSXIdentifierKind;
+ }
+ interface JSXExpressionContainer extends Omit {
+ type: "JSXExpressionContainer";
+ expression: K.ExpressionKind | K.JSXEmptyExpressionKind;
+ }
+ interface JSXElement extends Omit {
+ type: "JSXElement";
+ openingElement: K.JSXOpeningElementKind;
+ closingElement?: K.JSXClosingElementKind | null;
+ children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[];
+ name?: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ selfClosing?: boolean;
+ attributes?: (K.JSXAttributeKind | K.JSXSpreadAttributeKind)[];
+ }
+ interface JSXFragment extends Omit {
+ type: "JSXFragment";
+ openingFragment: K.JSXOpeningFragmentKind;
+ closingFragment: K.JSXClosingFragmentKind;
+ children?: (K.JSXTextKind | K.JSXExpressionContainerKind | K.JSXSpreadChildKind | K.JSXElementKind | K.JSXFragmentKind | K.LiteralKind)[];
+ }
+ interface JSXMemberExpression extends Omit {
+ type: "JSXMemberExpression";
+ object: K.JSXIdentifierKind | K.JSXMemberExpressionKind;
+ property: K.JSXIdentifierKind;
+ computed?: boolean;
+ }
+ interface JSXSpreadAttribute extends Omit {
+ type: "JSXSpreadAttribute";
+ argument: K.ExpressionKind;
+ }
+ interface JSXEmptyExpression extends Omit {
+ type: "JSXEmptyExpression";
+ }
+ interface JSXText extends Omit {
+ type: "JSXText";
+ value: string;
+ raw?: string;
+ }
+ interface JSXSpreadChild extends Omit {
+ type: "JSXSpreadChild";
+ expression: K.ExpressionKind;
+ }
+ interface JSXOpeningElement extends Omit {
+ type: "JSXOpeningElement";
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ attributes?: (K.JSXAttributeKind | K.JSXSpreadAttributeKind)[];
+ selfClosing?: boolean;
+ }
+ interface JSXClosingElement extends Omit {
+ type: "JSXClosingElement";
+ name: K.JSXIdentifierKind | K.JSXNamespacedNameKind | K.JSXMemberExpressionKind;
+ }
+ interface JSXOpeningFragment extends Omit {
+ type: "JSXOpeningFragment";
+ }
+ interface JSXClosingFragment extends Omit {
+ type: "JSXClosingFragment";
+ }
+ interface TypeParameterDeclaration extends Omit {
+ type: "TypeParameterDeclaration";
+ params: K.TypeParameterKind[];
+ }
+ interface TSTypeParameterDeclaration extends Omit {
+ type: "TSTypeParameterDeclaration";
+ params: K.TSTypeParameterKind[];
+ }
+ interface TypeParameterInstantiation extends Omit {
+ type: "TypeParameterInstantiation";
+ params: K.FlowTypeKind[];
+ }
+ interface TSTypeParameterInstantiation extends Omit {
+ type: "TSTypeParameterInstantiation";
+ params: K.TSTypeKind[];
+ }
+ interface ClassImplements extends Omit {
+ type: "ClassImplements";
+ id: K.IdentifierKind;
+ superClass?: K.ExpressionKind | null;
+ typeParameters?: K.TypeParameterInstantiationKind | null;
+ }
+ interface TSType extends Node {
+ }
+ interface TSHasOptionalTypeParameterInstantiation {
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
+ }
+ interface TSExpressionWithTypeArguments extends Omit, TSHasOptionalTypeParameterInstantiation {
+ type: "TSExpressionWithTypeArguments";
+ expression: K.IdentifierKind | K.TSQualifiedNameKind;
+ }
+ interface Flow extends Node {
+ }
+ interface FlowType extends Flow {
+ }
+ interface AnyTypeAnnotation extends Omit {
+ type: "AnyTypeAnnotation";
+ }
+ interface EmptyTypeAnnotation extends Omit {
+ type: "EmptyTypeAnnotation";
+ }
+ interface MixedTypeAnnotation extends Omit {
+ type: "MixedTypeAnnotation";
+ }
+ interface VoidTypeAnnotation extends Omit {
+ type: "VoidTypeAnnotation";
+ }
+ interface SymbolTypeAnnotation extends Omit {
+ type: "SymbolTypeAnnotation";
+ }
+ interface NumberTypeAnnotation extends Omit {
+ type: "NumberTypeAnnotation";
+ }
+ interface BigIntTypeAnnotation extends Omit {
+ type: "BigIntTypeAnnotation";
+ }
+ interface NumberLiteralTypeAnnotation extends Omit {
+ type: "NumberLiteralTypeAnnotation";
+ value: number;
+ raw: string;
+ }
+ interface NumericLiteralTypeAnnotation extends Omit {
+ type: "NumericLiteralTypeAnnotation";
+ value: number;
+ raw: string;
+ }
+ interface BigIntLiteralTypeAnnotation extends Omit {
+ type: "BigIntLiteralTypeAnnotation";
+ value: null;
+ raw: string;
+ }
+ interface StringTypeAnnotation extends Omit {
+ type: "StringTypeAnnotation";
+ }
+ interface StringLiteralTypeAnnotation extends Omit {
+ type: "StringLiteralTypeAnnotation";
+ value: string;
+ raw: string;
+ }
+ interface BooleanTypeAnnotation extends Omit {
+ type: "BooleanTypeAnnotation";
+ }
+ interface BooleanLiteralTypeAnnotation extends Omit {
+ type: "BooleanLiteralTypeAnnotation";
+ value: boolean;
+ raw: string;
+ }
+ interface NullableTypeAnnotation extends Omit {
+ type: "NullableTypeAnnotation";
+ typeAnnotation: K.FlowTypeKind;
+ }
+ interface NullLiteralTypeAnnotation extends Omit {
+ type: "NullLiteralTypeAnnotation";
+ }
+ interface NullTypeAnnotation extends Omit {
+ type: "NullTypeAnnotation";
+ }
+ interface ThisTypeAnnotation extends Omit {
+ type: "ThisTypeAnnotation";
+ }
+ interface ExistsTypeAnnotation extends Omit {
+ type: "ExistsTypeAnnotation";
+ }
+ interface ExistentialTypeParam extends Omit {
+ type: "ExistentialTypeParam";
+ }
+ interface FunctionTypeAnnotation extends Omit {
+ type: "FunctionTypeAnnotation";
+ params: K.FunctionTypeParamKind[];
+ returnType: K.FlowTypeKind;
+ rest: K.FunctionTypeParamKind | null;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ }
+ interface FunctionTypeParam extends Omit {
+ type: "FunctionTypeParam";
+ name: K.IdentifierKind | null;
+ typeAnnotation: K.FlowTypeKind;
+ optional: boolean;
+ }
+ interface ArrayTypeAnnotation extends Omit {
+ type: "ArrayTypeAnnotation";
+ elementType: K.FlowTypeKind;
+ }
+ interface ObjectTypeAnnotation extends Omit {
+ type: "ObjectTypeAnnotation";
+ properties: (K.ObjectTypePropertyKind | K.ObjectTypeSpreadPropertyKind)[];
+ indexers?: K.ObjectTypeIndexerKind[];
+ callProperties?: K.ObjectTypeCallPropertyKind[];
+ inexact?: boolean | undefined;
+ exact?: boolean;
+ internalSlots?: K.ObjectTypeInternalSlotKind[];
+ }
+ interface ObjectTypeProperty extends Omit {
+ type: "ObjectTypeProperty";
+ key: K.LiteralKind | K.IdentifierKind;
+ value: K.FlowTypeKind;
+ optional: boolean;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ }
+ interface ObjectTypeSpreadProperty extends Omit {
+ type: "ObjectTypeSpreadProperty";
+ argument: K.FlowTypeKind;
+ }
+ interface ObjectTypeIndexer extends Omit {
+ type: "ObjectTypeIndexer";
+ id: K.IdentifierKind;
+ key: K.FlowTypeKind;
+ value: K.FlowTypeKind;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ static?: boolean;
+ }
+ interface ObjectTypeCallProperty extends Omit {
+ type: "ObjectTypeCallProperty";
+ value: K.FunctionTypeAnnotationKind;
+ static?: boolean;
+ }
+ interface ObjectTypeInternalSlot extends Omit {
+ type: "ObjectTypeInternalSlot";
+ id: K.IdentifierKind;
+ value: K.FlowTypeKind;
+ optional: boolean;
+ static: boolean;
+ method: boolean;
+ }
+ interface Variance extends Omit {
+ type: "Variance";
+ kind: "plus" | "minus";
+ }
+ interface QualifiedTypeIdentifier extends Omit {
+ type: "QualifiedTypeIdentifier";
+ qualification: K.IdentifierKind | K.QualifiedTypeIdentifierKind;
+ id: K.IdentifierKind;
+ }
+ interface GenericTypeAnnotation extends Omit {
+ type: "GenericTypeAnnotation";
+ id: K.IdentifierKind | K.QualifiedTypeIdentifierKind;
+ typeParameters: K.TypeParameterInstantiationKind | null;
+ }
+ interface MemberTypeAnnotation extends Omit {
+ type: "MemberTypeAnnotation";
+ object: K.IdentifierKind;
+ property: K.MemberTypeAnnotationKind | K.GenericTypeAnnotationKind;
+ }
+ interface IndexedAccessType extends Omit {
+ type: "IndexedAccessType";
+ objectType: K.FlowTypeKind;
+ indexType: K.FlowTypeKind;
+ }
+ interface OptionalIndexedAccessType extends Omit {
+ type: "OptionalIndexedAccessType";
+ objectType: K.FlowTypeKind;
+ indexType: K.FlowTypeKind;
+ optional: boolean;
+ }
+ interface UnionTypeAnnotation extends Omit {
+ type: "UnionTypeAnnotation";
+ types: K.FlowTypeKind[];
+ }
+ interface IntersectionTypeAnnotation extends Omit {
+ type: "IntersectionTypeAnnotation";
+ types: K.FlowTypeKind[];
+ }
+ interface TypeofTypeAnnotation extends Omit {
+ type: "TypeofTypeAnnotation";
+ argument: K.FlowTypeKind;
+ }
+ interface TypeParameter extends Omit {
+ type: "TypeParameter";
+ name: string;
+ variance?: K.VarianceKind | "plus" | "minus" | null;
+ bound?: K.TypeAnnotationKind | null;
+ default?: K.FlowTypeKind | null;
+ }
+ interface InterfaceTypeAnnotation extends Omit {
+ type: "InterfaceTypeAnnotation";
+ body: K.ObjectTypeAnnotationKind;
+ extends?: K.InterfaceExtendsKind[] | null;
+ }
+ interface InterfaceExtends extends Omit {
+ type: "InterfaceExtends";
+ id: K.IdentifierKind;
+ typeParameters?: K.TypeParameterInstantiationKind | null;
+ }
+ interface InterfaceDeclaration extends Omit {
+ type: "InterfaceDeclaration";
+ id: K.IdentifierKind;
+ typeParameters?: K.TypeParameterDeclarationKind | null;
+ body: K.ObjectTypeAnnotationKind;
+ extends: K.InterfaceExtendsKind[];
+ }
+ interface DeclareInterface extends Omit {
+ type: "DeclareInterface";
+ }
+ interface TypeAlias extends Omit {
+ type: "TypeAlias";
+ id: K.IdentifierKind;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ right: K.FlowTypeKind;
+ }
+ interface DeclareTypeAlias extends Omit {
+ type: "DeclareTypeAlias";
+ }
+ interface OpaqueType extends Omit {
+ type: "OpaqueType";
+ id: K.IdentifierKind;
+ typeParameters: K.TypeParameterDeclarationKind | null;
+ impltype: K.FlowTypeKind;
+ supertype: K.FlowTypeKind | null;
+ }
+ interface DeclareOpaqueType extends Omit {
+ type: "DeclareOpaqueType";
+ impltype: K.FlowTypeKind | null;
+ }
+ interface TypeCastExpression extends Omit {
+ type: "TypeCastExpression";
+ expression: K.ExpressionKind;
+ typeAnnotation: K.TypeAnnotationKind;
+ }
+ interface TupleTypeAnnotation extends Omit {
+ type: "TupleTypeAnnotation";
+ types: K.FlowTypeKind[];
+ }
+ interface DeclareVariable extends Omit {
+ type: "DeclareVariable";
+ id: K.IdentifierKind;
+ }
+ interface DeclareFunction extends Omit {
+ type: "DeclareFunction";
+ id: K.IdentifierKind;
+ predicate?: K.FlowPredicateKind | null;
+ }
+ interface FlowPredicate extends Flow {
+ }
+ interface DeclareClass extends Omit {
+ type: "DeclareClass";
+ }
+ interface DeclareModule extends Omit {
+ type: "DeclareModule";
+ id: K.IdentifierKind | K.LiteralKind;
+ body: K.BlockStatementKind;
+ }
+ interface DeclareModuleExports extends Omit {
+ type: "DeclareModuleExports";
+ typeAnnotation: K.TypeAnnotationKind;
+ }
+ interface DeclareExportDeclaration extends Omit {
+ type: "DeclareExportDeclaration";
+ default: boolean;
+ declaration: K.DeclareVariableKind | K.DeclareFunctionKind | K.DeclareClassKind | K.FlowTypeKind | K.TypeAliasKind | K.DeclareOpaqueTypeKind | K.InterfaceDeclarationKind | null;
+ specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[];
+ source?: K.LiteralKind | null;
+ }
+ interface ExportBatchSpecifier extends Omit {
+ type: "ExportBatchSpecifier";
+ }
+ interface DeclareExportAllDeclaration extends Omit {
+ type: "DeclareExportAllDeclaration";
+ source?: K.LiteralKind | null;
+ }
+ interface InferredPredicate extends Omit {
+ type: "InferredPredicate";
+ }
+ interface DeclaredPredicate extends Omit {
+ type: "DeclaredPredicate";
+ value: K.ExpressionKind;
+ }
+ interface EnumDeclaration extends Omit {
+ type: "EnumDeclaration";
+ id: K.IdentifierKind;
+ body: K.EnumBooleanBodyKind | K.EnumNumberBodyKind | K.EnumStringBodyKind | K.EnumSymbolBodyKind;
+ }
+ interface EnumBooleanBody {
+ type: "EnumBooleanBody";
+ members: K.EnumBooleanMemberKind[];
+ explicitType: boolean;
+ }
+ interface EnumNumberBody {
+ type: "EnumNumberBody";
+ members: K.EnumNumberMemberKind[];
+ explicitType: boolean;
+ }
+ interface EnumStringBody {
+ type: "EnumStringBody";
+ members: K.EnumStringMemberKind[] | K.EnumDefaultedMemberKind[];
+ explicitType: boolean;
+ }
+ interface EnumSymbolBody {
+ type: "EnumSymbolBody";
+ members: K.EnumDefaultedMemberKind[];
+ }
+ interface EnumBooleanMember {
+ type: "EnumBooleanMember";
+ id: K.IdentifierKind;
+ init: K.LiteralKind | boolean;
+ }
+ interface EnumNumberMember {
+ type: "EnumNumberMember";
+ id: K.IdentifierKind;
+ init: K.LiteralKind;
+ }
+ interface EnumStringMember {
+ type: "EnumStringMember";
+ id: K.IdentifierKind;
+ init: K.LiteralKind;
+ }
+ interface EnumDefaultedMember {
+ type: "EnumDefaultedMember";
+ id: K.IdentifierKind;
+ }
+ interface ExportDeclaration extends Omit {
+ type: "ExportDeclaration";
+ default: boolean;
+ declaration: K.DeclarationKind | K.ExpressionKind | null;
+ specifiers?: (K.ExportSpecifierKind | K.ExportBatchSpecifierKind)[];
+ source?: K.LiteralKind | null;
+ }
+ interface Block extends Comment {
+ type: "Block";
+ }
+ interface Line extends Comment {
+ type: "Line";
+ }
+ interface Noop extends Omit {
+ type: "Noop";
+ }
+ interface DoExpression extends Omit {
+ type: "DoExpression";
+ body: K.StatementKind[];
+ }
+ interface BindExpression extends Omit {
+ type: "BindExpression";
+ object: K.ExpressionKind | null;
+ callee: K.ExpressionKind;
+ }
+ interface ParenthesizedExpression extends Omit {
+ type: "ParenthesizedExpression";
+ expression: K.ExpressionKind;
+ }
+ interface ExportNamespaceSpecifier extends Omit {
+ type: "ExportNamespaceSpecifier";
+ exported: K.IdentifierKind;
+ }
+ interface ExportDefaultSpecifier extends Omit {
+ type: "ExportDefaultSpecifier";
+ exported: K.IdentifierKind;
+ }
+ interface CommentBlock extends Comment {
+ type: "CommentBlock";
+ }
+ interface CommentLine extends Comment {
+ type: "CommentLine";
+ }
+ interface Directive extends Omit {
+ type: "Directive";
+ value: K.DirectiveLiteralKind;
+ }
+ interface DirectiveLiteral extends Omit, Omit {
+ type: "DirectiveLiteral";
+ value?: string;
+ }
+ interface InterpreterDirective extends Omit {
+ type: "InterpreterDirective";
+ value: string;
+ }
+ interface StringLiteral extends Omit {
+ type: "StringLiteral";
+ value: string;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ }
+ interface NumericLiteral extends Omit {
+ type: "NumericLiteral";
+ value: number;
+ raw?: string | null;
+ extra?: {
+ rawValue: number;
+ raw: string;
+ };
+ }
+ interface BigIntLiteral extends Omit {
+ type: "BigIntLiteral";
+ value: string | number;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ }
+ interface DecimalLiteral extends Omit {
+ type: "DecimalLiteral";
+ value: string;
+ extra?: {
+ rawValue: string;
+ raw: string;
+ };
+ }
+ interface NullLiteral extends Omit {
+ type: "NullLiteral";
+ value?: null;
+ }
+ interface BooleanLiteral extends Omit {
+ type: "BooleanLiteral";
+ value: boolean;
+ }
+ interface RegExpLiteral extends Omit {
+ type: "RegExpLiteral";
+ pattern: string;
+ flags: string;
+ value?: RegExp;
+ extra?: {
+ rawValue: RegExp | undefined;
+ raw: string;
+ };
+ regex?: {
+ pattern: string;
+ flags: string;
+ };
+ }
+ interface ClassMethod extends Omit, Omit {
+ type: "ClassMethod";
+ key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
+ kind?: "get" | "set" | "method" | "constructor";
+ body: K.BlockStatementKind;
+ access?: "public" | "private" | "protected" | null;
+ computed?: boolean;
+ static?: boolean;
+ abstract?: boolean;
+ accessibility?: "public" | "private" | "protected" | null;
+ decorators?: K.DecoratorKind[] | null;
+ definite?: boolean;
+ optional?: boolean;
+ override?: boolean;
+ readonly?: boolean;
+ }
+ interface ClassPrivateMethod extends Omit, Omit {
+ type: "ClassPrivateMethod";
+ key: K.PrivateNameKind;
+ kind?: "get" | "set" | "method" | "constructor";
+ body: K.BlockStatementKind;
+ access?: "public" | "private" | "protected" | null;
+ computed?: boolean;
+ static?: boolean;
+ abstract?: boolean;
+ accessibility?: "public" | "private" | "protected" | null;
+ decorators?: K.DecoratorKind[] | null;
+ definite?: boolean;
+ optional?: boolean;
+ override?: boolean;
+ readonly?: boolean;
+ }
+ interface TSHasOptionalTypeAnnotation {
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
+ }
+ interface ClassAccessorProperty extends Omit, TSHasOptionalTypeAnnotation {
+ type: "ClassAccessorProperty";
+ key: K.LiteralKind | K.IdentifierKind | K.PrivateNameKind | K.ExpressionKind;
+ value?: K.ExpressionKind | null;
+ computed?: boolean;
+ static?: boolean;
+ abstract?: boolean;
+ accessibility?: "public" | "private" | "protected" | null;
+ decorators?: K.DecoratorKind[] | null;
+ definite?: boolean;
+ optional?: boolean;
+ override?: boolean;
+ readonly?: boolean;
+ }
+ interface RestProperty extends Omit {
+ type: "RestProperty";
+ argument: K.ExpressionKind;
+ }
+ interface ForAwaitStatement extends Omit {
+ type: "ForAwaitStatement";
+ left: K.VariableDeclarationKind | K.ExpressionKind;
+ right: K.ExpressionKind;
+ body: K.StatementKind;
+ }
+ interface Import extends Omit {
+ type: "Import";
+ }
+ interface V8IntrinsicIdentifier extends Omit {
+ type: "V8IntrinsicIdentifier";
+ name: string;
+ }
+ interface TopicReference extends Omit {
+ type: "TopicReference";
+ }
+ interface TSQualifiedName extends Omit {
+ type: "TSQualifiedName";
+ left: K.IdentifierKind | K.TSQualifiedNameKind;
+ right: K.IdentifierKind | K.TSQualifiedNameKind;
+ }
+ interface TSTypeReference extends Omit, TSHasOptionalTypeParameterInstantiation {
+ type: "TSTypeReference";
+ typeName: K.IdentifierKind | K.TSQualifiedNameKind;
+ }
+ interface TSHasOptionalTypeParameters {
+ typeParameters?: K.TSTypeParameterDeclarationKind | null | undefined;
+ }
+ interface TSAsExpression extends Omit, Omit {
+ type: "TSAsExpression";
+ expression: K.ExpressionKind;
+ typeAnnotation: K.TSTypeKind;
+ extra?: {
+ parenthesized: boolean;
+ } | null;
+ }
+ interface TSTypeCastExpression extends Omit {
+ type: "TSTypeCastExpression";
+ expression: K.ExpressionKind;
+ typeAnnotation: K.TSTypeKind;
+ }
+ interface TSSatisfiesExpression extends Omit, Omit {
+ type: "TSSatisfiesExpression";
+ expression: K.ExpressionKind;
+ typeAnnotation: K.TSTypeKind;
+ }
+ interface TSNonNullExpression extends Omit, Omit {
+ type: "TSNonNullExpression";
+ expression: K.ExpressionKind;
+ }
+ interface TSAnyKeyword extends Omit {
+ type: "TSAnyKeyword";
+ }
+ interface TSBigIntKeyword extends Omit {
+ type: "TSBigIntKeyword";
+ }
+ interface TSBooleanKeyword extends Omit {
+ type: "TSBooleanKeyword";
+ }
+ interface TSNeverKeyword extends Omit {
+ type: "TSNeverKeyword";
+ }
+ interface TSNullKeyword extends Omit